embryo: prevent useless assignment.
Summary: In the if case 's1[]19 = 0' state looks meaningless. Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1895 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
a376582b4f
commit
1900e7785f
|
@ -2182,8 +2182,9 @@ needtoken(int token)
|
|||
else
|
||||
{
|
||||
strncpy(s1, sc_tokens[token - tFIRST], 19); /* multi-character symbol */
|
||||
s1[19] = 0;
|
||||
}
|
||||
s1[19] = 0;
|
||||
|
||||
if (!freading)
|
||||
{
|
||||
strncpy(s2, "-end of file-", 19);
|
||||
|
|
Loading…
Reference in New Issue