diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 16:10:24 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-20 16:10:24 +0200 |
commit | 9e73782f72f53aa8ce07c07e3407fecf4b501bad (patch) | |
tree | e7f74574f57cfbf8bd3ada87ed94b355b499ada5 /src/ui | |
parent | 86af6925d9fc0b2656eac15b0c8c7aba60589ce5 (diff) | |
download | profani-tty-9e73782f72f53aa8ce07c07e3407fecf4b501bad.tar.gz |
_destroy_tab() dont set tab to NULL
Setting the local pointer to NULL has no effect. _destroy_tab() is used for g_hash_table_new_full() so we cant use a ** and set tab to NULL.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/statusbar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index 82fa5c66..94ec13f8 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -508,7 +508,6 @@ _destroy_tab(StatusBarTab *tab) } free(tab); } - tab = NULL; } static int |