archive.c (objc_read_class): Initialize class_name.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * archive.c (objc_read_class): Initialize class_name. (objc_read_selector): Initialize selector_name. From-SVN: r81798
This commit is contained in:
parent
7549d7f202
commit
755bddc8a6
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
|
||||||
|
|
||||||
|
* archive.c (objc_read_class): Initialize class_name.
|
||||||
|
(objc_read_selector): Initialize selector_name.
|
||||||
|
|
||||||
2004-05-09 Richard Sandiford <rsandifo@redhat.com>
|
2004-05-09 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* Makefile.in (toolexecdir): Remove trailing space.
|
* Makefile.in (toolexecdir): Remove trailing space.
|
||||||
|
|
|
@ -887,7 +887,7 @@ objc_read_class (struct objc_typed_stream *stream, Class *class)
|
||||||
|
|
||||||
if (buf[0] == (_B_EXT | _BX_CLASS))
|
if (buf[0] == (_B_EXT | _BX_CLASS))
|
||||||
{
|
{
|
||||||
char *class_name;
|
char *class_name = "";
|
||||||
unsigned long version;
|
unsigned long version;
|
||||||
|
|
||||||
/* get class */
|
/* get class */
|
||||||
|
@ -938,7 +938,7 @@ objc_read_selector (struct objc_typed_stream *stream, SEL* selector)
|
||||||
|
|
||||||
if (buf[0] == (_B_EXT|_BX_SEL)) /* selector! */
|
if (buf[0] == (_B_EXT|_BX_SEL)) /* selector! */
|
||||||
{
|
{
|
||||||
char *selector_name;
|
char *selector_name = "";
|
||||||
|
|
||||||
/* get selector */
|
/* get selector */
|
||||||
len = objc_read_string (stream, &selector_name);
|
len = objc_read_string (stream, &selector_name);
|
||||||
|
|
Loading…
Reference in New Issue