Skip to content

Commit

Permalink
Initialize filename to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Stern committed Sep 30, 2024
1 parent 7a1480a commit c99d931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache2/modsecurity.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ int acquire_global_lock(apr_global_mutex_t **lock, apr_pool_t *mp) {
apr_status_t rc;
apr_file_t *lock_name;
const char *temp_dir;
const char *filename;
const char *filename = NULL;

// get platform temp dir
rc = apr_temp_dir_get(&temp_dir, mp);
Expand Down

0 comments on commit c99d931

Please sign in to comment.