diff options
Diffstat (limited to 'src/Converters.c')
-rw-r--r-- | src/Converters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Converters.c b/src/Converters.c index 9e80544..9bcf791 100644 --- a/src/Converters.c +++ b/src/Converters.c @@ -817,7 +817,7 @@ XtCvtStringToFloat(Display *dpy, XtPointer *closure_ret _X_UNUSED) { int ret; - float f, nan; + float f, nan = 0.0; (void) sscanf("NaN", "%g", toVal->addr != NULL ? (float *) toVal->addr : &nan); |