From edd9ca574327205933f23205d7051f613e46b23b Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sat, 1 Jul 2006 14:52:12 +0000 Subject: More removal of "#if 0" content. --- archival/dpkg.c | 9 --------- archival/gunzip.c | 20 -------------------- archival/gzip.c | 9 --------- 3 files changed, 38 deletions(-) (limited to 'archival') diff --git a/archival/dpkg.c b/archival/dpkg.c index 32e5125..6ca59ac 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1021,15 +1021,6 @@ static int check_deps(deb_file_t **deb_file, int deb_start, int dep_max_count) continue; } -#if 0 - /* This might be needed so we don't complain about - * things which are broken but unrelated to the - * packages that are currently being installed - */ - if (state_status == search_name_hashtable("installed")) - continue; -#endif - /* This code is tested only for EDGE_DEPENDS, since I * have no suitable pre-depends available. There is no * reason that it shouldn't work though :-) diff --git a/archival/gunzip.c b/archival/gunzip.c index 35449b0..ebbce41 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -40,26 +40,6 @@ * See the file algorithm.doc for the compression algorithms and file formats. */ -#if 0 -static char *license_msg[] = { - " Copyright (C) 1992-1993 Jean-loup Gailly", - " This program is free software; you can redistribute it and/or modify", - " it under the terms of the GNU General Public License as published by", - " the Free Software Foundation; either version 2, or (at your option)", - " any later version.", - "", - " This program is distributed in the hope that it will be useful,", - " but WITHOUT ANY WARRANTY; without even the implied warranty of", - " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the", - " GNU General Public License for more details.", - "", - " You should have received a copy of the GNU General Public License", - " along with this program; if not, write to the Free Software", - " Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.", - 0 -}; -#endif - #include #include #include diff --git a/archival/gzip.c b/archival/gzip.c index aebe90e..486f78f 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -144,15 +144,6 @@ typedef int file_t; /* Do not use stdio */ #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ flush_outbuf();} - -/* Output a 32 bit value to the bit stream, lsb first */ -#if 0 -#define put_long(n) { \ - put_short((n) & 0xffff); \ - put_short(((ulg)(n)) >> 16); \ -} -#endif - #define seekable() 0 /* force sequential output */ #define translate_eol 0 /* no option -a yet */ -- cgit v1.1