From c2ab651e8ffe9f809dae73cc9067cdf94c7a022f Mon Sep 17 00:00:00 2001 From: jvalcher Date: Thu, 7 Nov 2024 13:54:12 -0600 Subject: [PATCH] Initialized main_src_ptr --- src/update_window_data/get_source_path_line_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_window_data/get_source_path_line_func.c b/src/update_window_data/get_source_path_line_func.c index 32f0afb..1d54520 100644 --- a/src/update_window_data/get_source_path_line_func.c +++ b/src/update_window_data/get_source_path_line_func.c @@ -44,7 +44,7 @@ get_source_path_line_func_gdb (state_t *state) curr_index; char *src_ptr, *path_ptr, - *main_path_ptr, + *main_path_ptr = NULL, *prev_ptr; window_t *win; bool is_running;