Hi there,
during fixing this bug I noticed that hpireset ignores most of its options.

GCC 4.6 produces warnings for hpireset.c:
hpireset.c:64:9: warning: variable 'bopt' set but not used
[-Wunused-but-set-variable]
hpireset.c:63:9: warning: variable 'breset' set but not used
[-Wunused-but-set-variable]

When looking to the code it is obvious that options d,c,o,n,s are stored in
those variables,
which then are never used.

Does it now make sense to extend hpireset to those options (which means
implement power-down,
power-cycle, send-nmi, soft-OS-shutdown and reboot to service partition),
which probably
had been planned some years ago, when hpireset was started?

Any opinions?

Cheers,
Uli




-----Ursprungliche Nachricht-----
Von: SourceForge.net [mailto:[email protected]]
Gesendet: Montag, 31. Januar 2011 18:51
An: [email protected]
Betreff: [oh-tracker] [ openhpi-Bugs-3167843 ] gcc-4.6 warnings in
clients


Bugs item #3167843, was opened at 2011-01-29 23:12
Message generated for change (Comment added) made by ulikleber
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3167843&group_i
d=71730

Please note that this message will contain a full copy of the comment
thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HPI Clients
Group: 2.17.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Anton Pak (avpak)
Assigned to: Ulich Kleber (ulikleber)
Summary: gcc-4.6 warnings in clients

Initial Comment:
gcc-4.6 for 64 bit platform produces a lot of warnings in clients.
See attached file.

----------------------------------------------------------------------

>Comment By: Ulich Kleber (ulikleber)
Date: 2011-01-31 18:50

Message:
Fixed in Revision 7263.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3167843&group_i
d=71730

----------------------------------------------------------------------------
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
openhpi-tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-tracker


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to