diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-07-15 11:40:27 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-07-19 12:44:07 +0200 |
commit | 4499235ad15816756d2b1ff3b9a6a026ec85a47e (patch) | |
tree | e9267ff81cb9955dd2899f69b5ddf958f53ae654 | |
parent | d3bd2c7ff429c894e44af7c3fd629203a38d3a4f (diff) | |
download | neard-4499235ad15816756d2b1ff3b9a6a026ec85a47e.tar.gz |
snep: remove useless NULL-ify of local pointer variable
Assigning NULL to a local variable (a pointer) at the end of function
does not have any effect as this NULL is not passed outside.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
-rw-r--r-- | src/snep.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -206,7 +206,6 @@ static void free_snep_core_fragment(gpointer data) g_free(fragment->data); g_free(fragment); - fragment = NULL; } static void free_snep_core_push_data(gpointer userdata, int status) |