gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] cppcheck


From: address@hidden
Subject: [gpsd-dev] cppcheck
Date: Sat, 26 Jan 2013 21:34:36 +0100

Hello,

 

running 'scons audit', i get the message

 

Checking driver_nmea2000.c...

Checking driver_nmea2000.c: DBUS_EXPORT_ENABLE...

Checking driver_nmea2000.c: FIXED_PORT_SPEED...

Checking driver_nmea2000.c: HAVE_STRLCAT...

Checking driver_nmea2000.c: HAVE_STRLCPY...

Checking driver_nmea2000.c: HAVE_SYS_TIMEPPS_H...

Checking driver_nmea2000.c: S_SPLINT_S...

Checking driver_nmea2000.c: TIMING_ENABLE...

Checking driver_nmea2000.c: USE_QT...

Checking driver_nmea2000.c: _WIN32...

Checking driver_nmea2000.c: __BIG_ENDIAN__...

driver_nmea2000.c:837: style: Variable 'daddr' is assigned a value that is never used

Checking driver_nmea2000.c: __CYGWIN__...

Checking driver_nmea2000.c: __GNUC__...

Checking driver_nmea2000.c: __GNUC__;__x86_64__...

Checking driver_nmea2000.c: __LITTLE_ENDIAN__...

Checking driver_nmea2000.c: __cplusplus...

 

I have no idea, why this still happen.

 

The message is O.K., but should be switched off.

 

I still want to have this two variables and the code in, as i may need it later.

 

Hints are welcome.

 

Thank you

 

Reinhard

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]