diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-02-10 14:05:49 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-03-16 14:48:22 +0400 |
commit | 18e9c314e43271debf58f3c3e5bf454eab655799 (patch) | |
tree | cd2ff9ea71622f048b609873f4024eabfa965d3d /mysys/stacktrace.c | |
parent | 10554ca6cbb6a02098b0cc1a55fb5426164ef348 (diff) | |
download | mariadb-git-18e9c314e43271debf58f3c3e5bf454eab655799.tar.gz |
MDEV-6650 - LINT_INIT emits code in non-debug builds
Replaced all references to LINT_INIT with UNINIT_VAR and LINT_INIT_STRUCT.
Removed LINT_INIT macro.
Diffstat (limited to 'mysys/stacktrace.c')
-rw-r--r-- | mysys/stacktrace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysys/stacktrace.c b/mysys/stacktrace.c index 613911e4495..4cc767f924d 100644 --- a/mysys/stacktrace.c +++ b/mysys/stacktrace.c @@ -315,12 +315,11 @@ inline uint32* find_prev_pc(uint32* pc, uchar** fp) void my_print_stacktrace(uchar* stack_bottom, ulong thread_stack) { - uchar** fp; + uchar** UNINIT_VAR(fp); uint frame_count = 0, sigreturn_frame_count; #if defined(__alpha__) && defined(__GNUC__) uint32* pc; #endif - LINT_INIT(fp); #ifdef __i386__ |