diff options
author | Sunil Nimmagadda <sunil@sunilnimmagadda.com> | 2014-04-19 19:26:56 +0500 |
---|---|---|
committer | Sunil Nimmagadda <sunil@sunilnimmagadda.com> | 2014-04-19 19:26:56 +0500 |
commit | 4b1cd4a69fc13dae530daf2535f1f5591962b611 (patch) | |
tree | cc2fdae1f16114671176f4b60a30ad8d24a6d3e4 | |
parent | e0d44409373f6b3c8ba61c1f7be0deac088a250d (diff) |
This cannot truncate unless new states are added.
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -675,7 +675,7 @@ strstate(enum state state) CASE(TRANSACTION); CASE(UPDATE); default: - snprintf(buf, sizeof(buf), "%d ???", state); + (void)snprintf(buf, sizeof(buf), "%d ???", state); return (buf); } } |