Log: Hack to remove spurious compilation warning on disabled macros.

Change-Id: I1683126dc591b7c438270145bce4cda2990a3ade
Reviewed-on: http://gerrit.aldebaran.lan:8080/13159
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
Log: remove incorrect but fortunately unreachable code.

Change-Id: I694818d83c28d7fb5a8ec4acaeb8ec155f346b66
Reviewed-on: http://gerrit.aldebaran.lan:8080/12989
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>