[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43569] Fix for compile warnings with gcc 4.6.3
From: |
Ulrich Lauther |
Subject: |
[bug #43569] Fix for compile warnings with gcc 4.6.3 |
Date: |
Wed, 12 Nov 2014 23:06:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #7, bug #43569 (project groff):
Ingo Schwarze wrote:
> it may be appropriate to cast to (void) if a thorough audit > reveals
that ignoring the return value is OK in the
> (exceptional) case at hand, usually together with a comment
> explaining why it is ok, for the next auditor.
The code I found HAD a cast to (void):
(void) fscanf(file, "%" MAXSTRING_S "s%*[^n]n", string);
But nevertheless gcc issued the warning. That's why I submitted the patch.
ulrich
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43569>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #43569] Fix for compile warnings with gcc 4.6.3, anonymous, 2014/11/10
- Re: [bug #43569] Fix for compile warnings with gcc 4.6.3, Ulrich Lauther, 2014/11/10
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Ingo Schwarze, 2014/11/10
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Ingo Schwarze, 2014/11/10
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Werner LEMBERG, 2014/11/11
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Ulrich Lauther, 2014/11/11
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Ingo Schwarze, 2014/11/11
- [bug #43569] Fix for compile warnings with gcc 4.6.3, anonymous, 2014/11/11
- [bug #43569] Fix for compile warnings with gcc 4.6.3,
Ulrich Lauther <=
- [bug #43569] Fix for compile warnings with gcc 4.6.3, Ingo Schwarze, 2014/11/14