diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-18 14:44:47 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-18 16:00:18 +0100 |
commit | fb58416f459ecac570e2f2cb76672379eecf2da0 (patch) | |
tree | 05483ade1550177d568a18560720700bc34b551a /src/vars.c | |
parent | 5130c4d02853f7435aba90caab37521d4dce4e45 (diff) | |
download | calcurse-fb58416f459ecac570e2f2cb76672379eecf2da0.tar.gz calcurse-fb58416f459ecac570e2f2cb76672379eecf2da0.zip |
Don't chomp on error in ical_readline_init()
Skip the newline check if fgets() returns a NULL string. Fixes another
warning seen with "-Wunused-result".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/vars.c')
0 files changed, 0 insertions, 0 deletions