]> git.kaiwu.me - njs.git/commitdiff
Fixed compilation with gcc 4.4.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 3 Sep 2018 11:29:52 +0000 (14:29 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 3 Sep 2018 11:29:52 +0000 (14:29 +0300)
This fixes #49 issue on Github.

nxt/nxt_strtod.c

index 0052703c7dc8d009563940438582ebaefb54197b..e1da6ccea2d8bb4cec6018c91182487f38489794 100644 (file)
@@ -111,6 +111,7 @@ nxt_adjust_pow10(int exp)
         return nxt_diyfp(nxt_uint64(0x98968000, 00000000), -40);
     default:
         nxt_unreachable();
+        return nxt_diyfp(0, 0);
     }
 }