Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/file make this compile with our warning flags
details: https://anonhg.NetBSD.org/src/rev/972bee7c9b9b
branches: trunk
changeset: 507231:972bee7c9b9b
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Mar 17 11:25:32 2001 +0000
description:
make this compile with our warning flags
diffstat:
usr.bin/file/softmagic.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 48034c897d3e -r 972bee7c9b9b usr.bin/file/softmagic.c
--- a/usr.bin/file/softmagic.c Sat Mar 17 11:21:51 2001 +0000
+++ b/usr.bin/file/softmagic.c Sat Mar 17 11:25:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softmagic.c,v 1.21 2001/03/17 11:21:51 pooka Exp $ */
+/* $NetBSD: softmagic.c,v 1.22 2001/03/17 11:25:32 pooka Exp $ */
/*
* softmagic - interpret variable magic from MAGIC
@@ -41,7 +41,7 @@
#if 0
FILE_RCSID("@(#)Id: softmagic.c,v 1.43 2001/03/11 20:29:16 christos Exp ")
#else
-__RCSID("$NetBSD: softmagic.c,v 1.21 2001/03/17 11:21:51 pooka Exp $");
+__RCSID("$NetBSD: softmagic.c,v 1.22 2001/03/17 11:25:32 pooka Exp $");
#endif
#endif /* lint */
@@ -118,7 +118,6 @@
int32 oldoff = 0;
int returnval = 0; /* if a match is found it is set to 1*/
int firstline = 1; /* a flag to print X\n X\n- X */
- struct mlist *ml;
if (tmpoff == NULL)
if ((tmpoff = (int32 *) malloc(tmplen = 20)) == NULL)
Home |
Main Index |
Thread Index |
Old Index