am7xxx-play: don't initialize variables when not needed
[libam7xxx.git] / src / am7xxx.c
index 56f5bdc..5b1e35a 100644 (file)
@@ -790,7 +790,7 @@ out:
 
 AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
 {
 
 AM7XXX_PUBLIC int am7xxx_init(am7xxx_context **ctx)
 {
-       int ret = 0;
+       int ret;
 
        *ctx = malloc(sizeof(**ctx));
        if (*ctx == NULL) {
 
        *ctx = malloc(sizeof(**ctx));
        if (*ctx == NULL) {