]> git.tuebingen.mpg.de Git - paraslash.git/commit
command.c: Remove pointless initialization.
authorAndre Noll <maan@systemlinux.org>
Sat, 6 Jul 2013 19:31:11 +0000 (21:31 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 4 Sep 2013 22:23:13 +0000 (22:23 +0000)
commit1d79373523915b77cdf3f845ac415feab4949fca
tree95cb321c88b4b4a8cf81d1cd80229ea68a0d28d6
parentc17ede547f11afdecc1a98bab6a88116ccb21c91
command.c: Remove pointless initialization.

Found by the clang analyzer:

command.c:934:16: warning: Assigned value is always the same as the existing value
for (i = 0, p = iov->iov_base; p < end; i++)
    ~ ^ ~~~~~~~~~~~~~

clang is right: A couple of lines before the for loop we set p to
iov->iov_base and do not modify it.
command.c