file: fix might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]

This commit is contained in:
Joakim Karlsson 2023-06-12 09:28:56 +02:00 committed by AndersBroman
parent 97ae7cdf2f
commit 001930e1e5
1 changed files with 1 additions and 1 deletions

2
file.c
View File

@ -569,7 +569,7 @@ cf_read(capture_file *cf, gboolean reloading)
/* If we are to ignore duplicate frames, we need a container to store
* hashes frame contents */
fifo_string_cache_t frame_dup_cache;
GChecksum *cksum = NULL;
GChecksum *volatile cksum = NULL;
if (prefs.ignore_dup_frames) {
fifo_string_cache_init(&frame_dup_cache, prefs.ignore_dup_frames_cache_entries, g_free);