From: Jean-Philippe Orsini Date: Fri, 19 Sep 2014 09:33:28 +0000 (+0200) Subject: code style X-Git-Tag: v1.1.2~33 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=7df6be97f428ae704d2572ad79e2c7d7d1afc90f code style --- diff --git a/src/lib/psensor.c b/src/lib/psensor.c index 653b1b2..ef974f0 100644 --- a/src/lib/psensor.c +++ b/src/lib/psensor.c @@ -419,10 +419,8 @@ struct psensor **get_all_sensors(int use_libatasmart, int values_max_length) hddtemp_psensor_list_append(&psensors, values_max_length); #ifdef HAVE_ATASMART - else { - atasmart_psensor_list_append(&psensors, - values_max_length); - } + else + atasmart_psensor_list_append(&psensors, values_max_length); #endif if (!psensors) { /* there is no detected sensors */