# HG changeset patch # User Michiel Broek # Date 1427921667 -7200 # Node ID 5ff387f4d6b7bd55b4a94100e739a0715a66e42c # Parent 7993cb2d4b92be9ee6b3585fa4700b7e917a4497 Fixed compile issue on non-Pi systems diff -r 7993cb2d4b92 -r 5ff387f4d6b7 thermferm/devices.c --- a/thermferm/devices.c Wed Apr 01 22:39:27 2015 +0200 +++ b/thermferm/devices.c Wed Apr 01 22:54:27 2015 +0200 @@ -257,9 +257,9 @@ { devices_list *device; time_t now, my_timestamp; - int my_value, test_value; + int rc, my_value, test_value; #ifdef HAVE_WIRINGPI_H - int i, rc; + int i; char buf[40]; #endif