coverity 83672 dead code
authorAndy Green <andy.green@linaro.org>
Sun, 30 Nov 2014 04:47:33 +0000 (12:47 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 30 Nov 2014 04:47:33 +0000 (12:47 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/base64-decode.c

index 51db267..dd3c1d0 100644 (file)
@@ -126,8 +126,6 @@ lws_b64_decode_string(const char *in, char *out, int out_size)
                                        quad[i] = 0;
                        }
                }
-               if (!len)
-                       continue;
 
                if (out_size < (done + len - 1))
                        /* out buffer is too small */