diff options
-rw-r--r-- | wsutil/strtoi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/strtoi.c b/wsutil/strtoi.c index 1635cab5e1..25bc5c9480 100644 --- a/wsutil/strtoi.c +++ b/wsutil/strtoi.c @@ -68,7 +68,7 @@ gboolean ws_strtoi64(const gchar* str, const gchar** endptr, gint64* cint) #define DEFINE_WS_STRTOI_BITS(bits) \ gboolean ws_strtoi##bits(const gchar* str, const gchar** endptr, gint##bits* cint) \ { \ - gint64 val; \ + gint64 val = 0; \ if (!ws_strtoi64(str, endptr, &val)) { \ /* \ * For ERANGE, return either G_MININT##bits or \ |