Closed Karl-opec closed 8 years ago
fixed, thanks
Moving [code] void CVNSITimers::Action() { bool modified;
[/code]
could you submit a pull request or at least a patch?
Here is the patch: comp-wan.txt
thanks, btw github markup for code snippets is 3 times this character "`" before and after the code.
this is code
Thanks for the hint
g++ -g -O3 -Wall -march=core-avx2 -mavx2 -Woverloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -std=c++11 -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"vnsiserver"' -DVNSI_SERVER_VERSION='"1.5.0"' -I/usr/src/packages/BUILD/vdr-2.2.0/include -o vnsitimer.o vnsitimer.c
vnsitimer.c: In member function ‘virtual void CVNSITimers::Action()’:
vnsitimer.c:255:8: warning: unused variable ‘modified’ [-Wunused-variable]
bool modified;
^
Please commit the following fix for the above compile warning with vdr-2.2.0:
--- vnsitimer.c.orig 2016-07-06 10:30:09.837216870 +0200
+++ vnsitimer.c 2016-07-06 10:42:12.601092046 +0200
@@ -252,9 +252,8 @@ bool CVNSITimers::IsDuplicateEvent(cTime
void CVNSITimers::Action()
{
- bool modified;
-
#if VDRVERSNUM >= 20301
+ bool modified;
cStateKey timerState;
// set thread priority (nice level)
done
compiling latest git tree leads to unkwown cStateKey timerState;
commenting line 253 in vnsitimer.c out, everything compiles and runs.