r14003: Clarify code that lead to Coverity report #13.
[gd/samba/.git] / source3 / printing / lpq_parse.c
index 68c06ade41f0240df99dbb055d992d9182f5539b..7e81b5187c9cef1579a24c8e848db7f3cf944ebd 100644 (file)
@@ -971,7 +971,7 @@ BOOL parse_lpq_entry(enum printing_types printing_type,char *line,
   }
 
   /* in the LPRNG case, we skip lines starting by a space.*/
-  if (line && !ret && (printing_type==PRINT_LPRNG) )
+  if (!ret && (printing_type==PRINT_LPRNG) )
   {
        if (line[0]==' ')
                return ret;