diff --git a/changelog b/changelog index da525a4..9f7cc56 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,5 @@ +20140729 tpd src/axiom-website/patches.html 20140729.05.tpd.patch +20140729 tpd src/lib/xspadfill.c 'maxDither' is set but never used, removed 20140729 tpd src/axiom-website/patches.html 20140729.04.tpd.patch 20140729 tpd src/lib/sockio-c.c 'val is set but never used, removed 20140729 tpd src/axiom-website/patches.html 20140729.03.tpd.patch diff --git a/patch b/patch index 2cec990..7e6c93e 100644 --- a/patch +++ b/patch @@ -1 +1 @@ -src/lib/sockio-c.c 'val' is set but never used, removed +src/lib/xspadfill.c 'maxDither' is set but never used, removed diff --git a/src/axiom-website/patches.html b/src/axiom-website/patches.html index 02a7352..80fc353 100644 --- a/src/axiom-website/patches.html +++ b/src/axiom-website/patches.html @@ -4584,6 +4584,8 @@ src/lib/fnct-key.c 'length' is set but never used, removed
src/lib/pixmap.c 'status' is set but never used, removed
20140729.04.tpd.patch src/lib/sockio-c.c 'val is set but never used, removed
+20140729.05.tpd.patch +src/lib/xspadfill.c 'maxDither' is set but never used, removed
diff --git a/src/lib/xspadfill.c.pamphlet b/src/lib/xspadfill.c.pamphlet index 41e9e0f..26da157 100644 --- a/src/lib/xspadfill.c.pamphlet +++ b/src/lib/xspadfill.c.pamphlet @@ -97,7 +97,6 @@ int XInitSpadFill(Display *dsply, int scr, Colormap * mapOfColors, int * hues, int *solid, int * dithered, int * shades) { - int maxDither; XColor BlackColor, WhiteColor; XColor retColor; int maxSolid; @@ -134,7 +133,6 @@ XInitSpadFill(Display *dsply, int scr, Colormap * mapOfColors, int * hues, if (DisplayPlanes(dsply, scr) < 8) { *dithered = totalDithered = maxGreyShade = XInitShades(dsply, scr); - maxDither = *dithered - 1; spadColors = (unsigned long *) malloc(2 * sizeof(unsigned long)); spadColors[0] = BlackColor.pixel; spadColors[1] = WhiteColor.pixel; @@ -151,7 +149,6 @@ XInitSpadFill(Display *dsply, int scr, Colormap * mapOfColors, int * hues, *dithered = totalDithered = XInitDither(dsply, scr, stippleGC, black, white); - maxDither = *dithered - 1; if ((maxSolid=makeColors(dsply,scr,&cmap,&spadColors,&totalSolid)) > 0) { *solid = totalSolid + 2; @@ -166,7 +163,6 @@ XInitSpadFill(Display *dsply, int scr, Colormap * mapOfColors, int * hues, * makeColors managed to fail -- switch to mono */ *dithered = totalDithered = maxGreyShade = XInitShades(dsply, scr); - maxDither = *dithered - 1; spadColors = (unsigned long *) malloc(2 * sizeof(unsigned long)); spadColors[0] = BlackColor.pixel; spadColors[1] = WhiteColor.pixel;