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:
woochan lee 2015-01-26 12:11:03 +01:00 committed by Cedric BAIL
parent a376582b4f
commit 1900e7785f
1 changed files with 2 additions and 1 deletions

View File

@ -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);