Each code path either assigns to 'flags', or leaves the routine. There is no potential path that leaves the variable at the initially assigned value, so the assignment took no effect. Remove it. Nit: Trim the source code line length while we are here. This was reported by clang's scan-build. |
||
---|---|---|
.. | ||
api.c | ||
protocol.c | ||
protocol.h |