Revision: 55048
http://brlcad.svn.sourceforge.net/brlcad/?rev=55048&view=rev
Author: carlmoore
Date: 2013-04-04 19:37:26 +0000 (Thu, 04 Apr 2013)
Log Message:
-----------
move lines ahead of a slew of value-setting lines, which would be meaningless
if 'Exiting' was invoked
Modified Paths:
--------------
brlcad/trunk/src/conv/dem-g.c
Modified: brlcad/trunk/src/conv/dem-g.c
===================================================================
--- brlcad/trunk/src/conv/dem-g.c 2013-04-04 14:35:20 UTC (rev 55047)
+++ brlcad/trunk/src/conv/dem-g.c 2013-04-04 19:37:26 UTC (rev 55048)
@@ -1677,6 +1677,13 @@
bu_setprogname(av[0]);
+ progname = *av;
+
+ if (ac < 2) {
+ usage();
+ bu_exit(BRLCAD_ERROR, "Exiting.\n");
+ }
+
/*
* element_counts[]
* element_counts[record_type] = number of elements in each record type
@@ -2082,13 +2089,6 @@
conversion_factor_to_milimeters[2] = 1000.0;
conversion_factor_to_milimeters[3] = 30000.0;
- progname = *av;
-
- if (ac < 2) {
- usage();
- bu_exit(BRLCAD_ERROR, "Exiting.\n");
- }
-
input_filename = bu_realpath(av[1], NULL);
bu_vls_strcpy(&temp_filename, input_filename);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits