iscsi-scstd: Fix a dereference-before-null-check

Detected by Coverity.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-05-05 14:34:43 +02:00
parent 1fc64916e5
commit 9da649131f

View File

@@ -245,7 +245,7 @@ static struct __qelem *account_list_get(struct target *target, int dir)
char *config_sep_string(char **pp)
{
char *p = *pp;
char *p;
char *q;
static char blank = '\0';