| Re: [hatari-devel] Is it me or the symbols prg option is broken ? | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
Le 04/05/2015 23:07, Nicolas Pomarède a écrit :
Le 04/05/2015 22:46, Eero Tamminen a écrit :
Hi,
On sunnuntai 03 toukokuu 2015, Nicolas Pomarède wrote:
there's a warning now in debug.c :
src/debug/breakcond.c: In function âBreakCond_DoDelayedActionsâ:
src/debug/breakcond.c:1616:7: attention : variable âremovedâ set but not
used [-Wunused-but-set-variable]
    bool removed;
Problem is that "removed" is only used in an "assert" statement.
What do you think of the attached patch?
hi
looks fine to me.
I tried the patch you pushed, but I get an error :
src/debug/breakcond.c: In function âBreakCond_DoDelayedActionsâ:
src/debug/breakcond.c:1628:4: erreur: âremovedâ undeclared (first use in 
this function)
    removed = BreakCond_Remove(bps, i);
    ^
src/hatari-int/src/debug/breakcond.c:1628:4: note: each undeclared 
identifier is reported only once for each function it appears in
src/debug/CMakeFiles/Debug.dir/build.make:100: recipe for target 
'src/debug/CMakeFiles/Debug.dir/breakcond.c.o' failed
I run only "./configure" then "make", so NDEBUG is not defined in my case.