Skip to content

Commit

Permalink
Patch for dead assignment
Browse files Browse the repository at this point in the history
Static analysis (coverity) identified a dead assignment
of the variable end.  Remove the assignment to make
static analysis happy.

Fixes coverity 1025913.
Fixes #11583
  • Loading branch information
garybuhrmaster authored and dekarl committed Jun 9, 2013
1 parent 61ff8ca commit ce7473d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/lirc_client.c
Expand Up @@ -1865,7 +1865,7 @@ int lirc_nextcode(struct lirc_state *state, char **code)
end_len+=len;
state->lirc_buffer[end_len]=0;
/* return if next code not yet available completely */
if((end=strchr(state->lirc_buffer,'\n'))==NULL)
if(strchr(state->lirc_buffer,'\n')==NULL)
{
return(0);
}
Expand Down

0 comments on commit ce7473d

Please sign in to comment.