From 3bac01cbc3b3359ce99b894130ade5685e689bcd Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 5 Nov 2011 11:36:43 +0000 Subject: [PATCH] neutrino: fix 'value computed not used' warning in radiotools.cpp git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1820 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/48fd7bc7d148d3ad948c2ac6d3597e8761440ef3 Author: Stefan Seyfried Date: 2011-11-05 (Sat, 05 Nov 2011) ------------------ This commit was generated by Migit --- src/driver/radiotools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/radiotools.cpp b/src/driver/radiotools.cpp index 65eafb9ac..64449b238 100644 --- a/src/driver/radiotools.cpp +++ b/src/driver/radiotools.cpp @@ -41,7 +41,7 @@ unsigned short crc16_ccitt(unsigned char *daten, int len, bool skipfirst) // with start 0xffff and result invers register unsigned short crc = 0xffff; - if (skipfirst) *daten++; + if (skipfirst) daten++; while (len--) { crc = (crc >> 8) | (crc << 8); crc ^= *daten++;