diff options
author | rillig <rillig@pkgsrc.org> | 2007-08-14 09:08:07 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-08-14 09:08:07 +0000 |
commit | 8a2abcff8973b7fc983563902cf09b7ee9f4e7c4 (patch) | |
tree | 3cfabeac025e7d89837ae987e735833bbb8ff4d6 /devel/binutils/patches | |
parent | d2a43c504666636c07e030e65f47095eba177d88 (diff) | |
download | pkgsrc-8a2abcff8973b7fc983563902cf09b7ee9f4e7c4.tar.gz |
Fixed a gcc warning reported in PR 36777:
read.c:1426: warning: 'stopc' may be used uninitialized in this function
Diffstat (limited to 'devel/binutils/patches')
-rw-r--r-- | devel/binutils/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/binutils/patches/patch-af b/devel/binutils/patches/patch-af new file mode 100644 index 00000000000..8d6d41c4414 --- /dev/null +++ b/devel/binutils/patches/patch-af @@ -0,0 +1,13 @@ +$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) |