Revision: 45929
http://brlcad.svn.sourceforge.net/brlcad/?rev=45929&view=rev
Author: bhinesley
Date: 2011-08-11 20:57:14 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
oops... edit_cmd initialization routine introduced r45921 tried to set pointer
that was pointed to by uninitialized pointer to NULL
Modified Paths:
--------------
brlcad/trunk/src/libged/edit.c
Modified: brlcad/trunk/src/libged/edit.c
===================================================================
--- brlcad/trunk/src/libged/edit.c 2011-08-11 20:55:30 UTC (rev 45928)
+++ brlcad/trunk/src/libged/edit.c 2011-08-11 20:57:14 UTC (rev 45929)
@@ -1164,8 +1164,9 @@
edit_cmd_init(union edit_cmd *const subcmd)
{
struct edit_arg **arg_head;
- int i = 0;
+ int i = 1;
+ arg_head = &subcmd->common.objects;
do
*arg_head = (struct edit_arg *)NULL;
while (*(arg_head = subcmd->cmd->get_arg_head(subcmd, i++)) !=
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits