Revision: 75955
http://sourceforge.net/p/brlcad/code/75955
Author: starseeker
Date: 2020-05-28 00:11:41 +0000 (Thu, 28 May 2020)
Log Message:
-----------
trim unneeded checks
Modified Paths:
--------------
brlcad/trunk/src/libged/which.cpp
Modified: brlcad/trunk/src/libged/which.cpp
===================================================================
--- brlcad/trunk/src/libged/which.cpp 2020-05-27 23:52:43 UTC (rev 75954)
+++ brlcad/trunk/src/libged/which.cpp 2020-05-28 00:11:41 UTC (rev 75955)
@@ -249,13 +249,10 @@
continue;
}
// Print the last results
- if (rstart != -1) {
- if (rend != -1) {
- bu_vls_printf(gedp->ged_result_str, " %d-%d\n", rstart,
rend);
- } else {
- bu_vls_printf(gedp->ged_result_str, " %d\n", rstart);
- }
- rend = -1;
+ if (rend != -1) {
+ bu_vls_printf(gedp->ged_result_str, " %d-%d\n", rstart, rend);
+ } else {
+ bu_vls_printf(gedp->ged_result_str, " %d\n", rstart);
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits