pkgsrc/devel/binutils/patches/patch-af
rillig 8a2abcff89 Fixed a gcc warning reported in PR 36777:
read.c:1426: warning: 'stopc' may be used uninitialized in this function
2007-08-14 09:08:07 +00:00

13 lines
395 B
Text

$NetBSD: patch-af,v 1.1 2007/08/14 09:08:07 rillig Exp $
--- gas/read.c.orig 2005-11-17 08:29:28.000000000 +0100
+++ gas/read.c 2007-08-14 11:03:42.000000000 +0200
@@ -1423,7 +1423,7 @@ s_comm_internal (int param,
offsetT temp, size;
symbolS *symbolP = NULL;
char *stop = NULL;
- char stopc;
+ char stopc = '\0'; /* XXX: gcc -Wuninitialized */
expressionS exp;
if (flag_mri)