Revision: 51411 http://brlcad.svn.sourceforge.net/brlcad/?rev=51411&view=rev Author: bob1961 Date: 2012-07-03 17:58:36 +0000 (Tue, 03 Jul 2012) Log Message: ----------- Putting back the code to initialize the result string.
Modified Paths: -------------- brlcad/trunk/src/libged/kill.c Modified: brlcad/trunk/src/libged/kill.c =================================================================== --- brlcad/trunk/src/libged/kill.c 2012-07-03 16:55:19 UTC (rev 51410) +++ brlcad/trunk/src/libged/kill.c 2012-07-03 17:58:36 UTC (rev 51411) @@ -50,6 +50,9 @@ GED_CHECK_READ_ONLY(gedp, GED_ERROR); GED_CHECK_ARGC_GT_0(gedp, argc, GED_ERROR); + /* initialize result */ + bu_vls_trunc(gedp->ged_result_str, 0); + /* must be wanting help */ if (argc == 1) { bu_vls_printf(gedp->ged_result_str, "Usage: %s %s", argv[0], usage); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits