GNOME Bugzilla – Bug 647315
gnome-keyring doesn't compile with GCC 4.6
Last modified: 2011-04-23 08:19:24 UTC
Created attachment 185614 [details] [review] Fixes some warnings gnome-keyring doesn't compile with GCC 4.6 due to unused variable warnings treated as errors. Attached patch solve some unused variable warnings, but errors left : gkm-null-mechanism.c:90:2: error: value computed is not used [-Werror=unused-value] gkm-null-mechanism.c: In function 'gkm_null_mechanism_unwrap': gkm-null-mechanism.c:129:2: error: value computed is not used [-Werror=unused-value] cc1: all warnings being treated as errors
Thanks for catching that. Committed your patch with some additional changes, and fixing up. commit 33c2185da08e665eb949b155f9edaa8c4618d0f0 Author: Marc Plano-Lesay <marc.planolesay@gmail.com> Date: Sat Apr 9 22:58:06 2011 +0200 fix unused-but-set-variable warnings https://bugzilla.gnome.org/show_bug.cgi?id=647315 It's on the gnome-3-0 branch and will be included in gnome-keyring-3.0.1
Some warnings are still present, patch attached to resolve them
Created attachment 186414 [details] [review] Patch solving warnings
Merged into gnome-3-0 branch with a few tweaks.