rev 301 - trunk/src

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: bcollins
Date: 2004-04-08 09:03:27 -0400 (Thu, 08 Apr 2004)
New Revision: 301

Modified:
   trunk/src/object.c
Log:
Fix compile warning.


Modified: trunk/src/object.c
===================================================================
--- trunk/src/object.c	2004-04-08 08:05:03 UTC (rev 300)
+++ trunk/src/object.c	2004-04-08 13:03:27 UTC (rev 301)
@@ -624,7 +624,7 @@
 // if proto_pp not null, then will return proto obj that attr was found in
 // if super_obj specified, then only objects after super_obj searched
 obj_p get_proto_attr(isp ist, obj_p objid, obj_p key, obj_p *proto_pp, obj_p super_obj) {
-	obj_p  obj=objid, proto, res;
+	obj_p  obj=objid, proto, res = NULL;
 	int i, j, len;
 	clist_t *pao_list;
 	if (proto_pp) *proto_pp = NULL;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.