aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-15 11:40:27 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-19 12:44:07 +0200
commit4499235ad15816756d2b1ff3b9a6a026ec85a47e (patch)
treee9267ff81cb9955dd2899f69b5ddf958f53ae654
parentd3bd2c7ff429c894e44af7c3fd629203a38d3a4f (diff)
downloadneard-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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/snep.c b/src/snep.c
index a1e9024..7370601 100644
--- a/src/snep.c
+++ b/src/snep.c
@@ -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)