diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-10-14T13·11+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-10-31T07·49+0100 |
commit | 80893a13a71928de3697ce25585b59f395b46261 (patch) | |
tree | 2dc273215aa783fe1193c8fcb2b674c75b04102a /src/libmain | |
parent | a51f8d67473953307ef7fd0ea033a81fb022289f (diff) |
Shut up a clang warning
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/stack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/stack.cc b/src/libmain/stack.cc index 64df95547e0b..b670e695d140 100644 --- a/src/libmain/stack.cc +++ b/src/libmain/stack.cc @@ -18,7 +18,7 @@ static void sigsegvHandler(int signo, siginfo_t * info, void * ctx) the stack pointer. Unfortunately, getting the stack pointer is not portable. */ bool haveSP = true; - char * sp; + char * sp = 0; #if defined(__x86_64__) && defined(REG_RSP) sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP]; #elif defined(REG_ESP) |