Skip to content

Commit

Permalink
Coverity CSID #1339398
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Nov 16, 2015
1 parent 28b0316 commit fa0c4ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/dict.c
Expand Up @@ -1652,7 +1652,7 @@ static int sscanf_i(char const *str, unsigned int *pvalue)
static int process_attribute(fr_dict_attr_t const *parent, char const *fn, int const line,
unsigned int block_vendor, char **argv, int argc)
{
int oid = 0;
bool oid = false;

unsigned int vendor = 0;
unsigned int attr;
Expand Down Expand Up @@ -1695,6 +1695,7 @@ static int process_attribute(fr_dict_attr_t const *parent, char const *fn, int c
} else {
ssize_t slen;

oid = true;
vendor = block_vendor;

slen = fr_dict_str_to_oid(&vendor, &attr, &parent, argv[1]);
Expand Down

0 comments on commit fa0c4ac

Please sign in to comment.