Skip to content

Commit

Permalink
Removed assignment of function parameter at the end of function
Browse files Browse the repository at this point in the history
This fixes the following message of cppcheck:

[src/main/tmpl.c:826]: (warning) Assignment of function parameter has no effect outside the function.
  • Loading branch information
herwinw authored and arr2036 committed Oct 18, 2014
1 parent 2baae71 commit 999c495
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/tmpl.c
Expand Up @@ -823,7 +823,6 @@ ssize_t tmpl_from_attr_substr(value_pair_tmpl_t *vpt, char const *name,
vpt->type = type;
vpt->name = name;
vpt->len = p - name;
name = p;

/*
* Copy over the attribute definition, now we're
Expand Down

0 comments on commit 999c495

Please sign in to comment.