tags 646488 + pending thanks Dear maintainer,
I've prepared an NMU for wmtemp (versioned as 0.0.6-3.3) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Sinéad O'Connor: What Doesn't Belong To Me
diff -u wmtemp-0.0.6/temp.c wmtemp-0.0.6/temp.c
--- wmtemp-0.0.6/temp.c
+++ wmtemp-0.0.6/temp.c
@@ -36,7 +36,6 @@
int chip_nr = 0, f1, f2;
char str[256];
- int len;
char *feattext = NULL;
const sensors_subfeature *subfeature;
@@ -63,7 +62,7 @@
f1 = f2 = 0;
DEBUG(printf("chip_nr=%d %d\n",chip_nr,__LINE__);)
- len = sensors_snprintf_chip_name(str, 256, name);
+ sensors_snprintf_chip_name(str, 256, name);
DEBUG(printf("chip name = %s (%d)\n",str,__LINE__);)
while ((feature = sensors_get_features( name, &f1)) != NULL) {
diff -u wmtemp-0.0.6/debian/changelog wmtemp-0.0.6/debian/changelog
--- wmtemp-0.0.6/debian/changelog
+++ wmtemp-0.0.6/debian/changelog
@@ -1,3 +1,12 @@
+wmtemp (0.0.6-3.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "FTBFS: dockapp.c:52:16: error: variable 'stat' set but not used
+ [-Werror=unused-but-set-variable]": apply patch from peter green, removing
+ two unused variables. (Closes: #646488)
+
+ -- gregor herrmann <[email protected]> Tue, 22 Nov 2011 20:45:17 +0100
+
wmtemp (0.0.6-3.2) unstable; urgency=low
* Non-maintainer upload to fix the previous upload.
only in patch2:
unchanged:
--- wmtemp-0.0.6.orig/dockapp.c
+++ wmtemp-0.0.6/dockapp.c
@@ -49,7 +49,6 @@
{
XClassHint *classhint;
XWMHints *wmhints;
- Status stat;
XTextProperty title;
XSizeHints sizehints;
Window root;
@@ -132,7 +131,7 @@
XSetWMNormalHints(display, icon_window, &sizehints);
/* Set WindowTitle for AfterStep Wharf */
- stat = XStringListToTextProperty(&appname, 1, &title);
+ XStringListToTextProperty(&appname, 1, &title);
XSetWMName(display, window, &title);
XSetWMName(display, icon_window, &title);
signature.asc
Description: Digital signature

