Revision: 55239
http://sourceforge.net/p/brlcad/code/55239
Author: brlcad
Date: 2013-04-25 03:23:44 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
browder noticed that these two can be combined, simplifies even further.
Modified Paths:
--------------
brlcad/trunk/src/libged/model2view.c
Modified: brlcad/trunk/src/libged/model2view.c
===================================================================
--- brlcad/trunk/src/libged/model2view.c 2013-04-25 03:20:05 UTC (rev
55238)
+++ brlcad/trunk/src/libged/model2view.c 2013-04-25 03:23:44 UTC (rev
55239)
@@ -54,12 +54,8 @@
return GED_OK;
}
- if (argc != 4) {
- bu_vls_printf(gedp->ged_result_str, "Usage: %s %s", argv[0], usage);
- return GED_ERROR;
- }
-
- if (sscanf(argv[1], "%lf", &model_pt[X]) != 1
+ if (argc != 4
+ || sscanf(argv[1], "%lf", &model_pt[X]) != 1
|| sscanf(argv[2], "%lf", &model_pt[Y]) != 1
|| sscanf(argv[3], "%lf", &model_pt[Z]) != 1)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits