Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134587 - ndiswrapper warning when compiled with gcc 4.1
Summary: ndiswrapper warning when compiled with gcc 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Petteri Räty (RETIRED)
URL: http://svn.sourceforge.net/viewcvs.cg...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-05-27 22:51 UTC by Carlo Marcelo Arenas Belon
Modified: 2006-05-28 08:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch to fix warning as used upstream (ndiswrapper-1.15-gcc41.patch,352 bytes, patch)
2006-05-27 22:52 UTC, Carlo Marcelo Arenas Belon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo Marcelo Arenas Belon 2006-05-27 22:51:21 UTC
CC [M]  /var/tmp/portage/ndiswrapper-1.15/work/ndiswrapper-1.15/driver/ntoskernel.o
/var/tmp/portage/ndiswrapper-1.15/work/ndiswrapper-1.15/driver/ntoskernel.c: In function 'KeClearEvent':
/var/tmp/portage/ndiswrapper-1.15/work/ndiswrapper-1.15/driver/ntoskernel.c:1636: warning: value computed is not used

this problem has been already fixed upstream by the linked to the URL changeset (not yet released, but part of the svn repository)
Comment 1 Carlo Marcelo Arenas Belon 2006-05-27 22:52:25 UTC
Created attachment 87705 [details, diff]
proposed patch to fix warning as used upstream
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-05-28 05:07:40 UTC
I committed this patch to 1.16 but please gcc people take a look at it. I am not suse if adding a (void) is the right way to fix it.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-28 08:39:32 UTC
Yea, that's fine.