Shut up a clang warning

This commit is contained in:
Eelco Dolstra
2014-10-31 08:49:15 +01:00
parent a51f8d6747
commit 80893a13a7
+1 -1
View File
@@ -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)