Revision: 50666
http://brlcad.svn.sourceforge.net/brlcad/?rev=50666&view=rev
Author: tbrowder2
Date: 2012-05-24 20:48:41 +0000 (Thu, 24 May 2012)
Log Message:
-----------
reorder vars for ease of maintenance
Modified Paths:
--------------
brlcad/trunk/src/libbu/vls.c
Modified: brlcad/trunk/src/libbu/vls.c
===================================================================
--- brlcad/trunk/src/libbu/vls.c 2012-05-24 20:45:12 UTC (rev 50665)
+++ brlcad/trunk/src/libbu/vls.c 2012-05-24 20:48:41 UTC (rev 50666)
@@ -622,7 +622,6 @@
return endlen;
}
-
void
bu_vls_putc(struct bu_vls *vp, int c)
{
@@ -635,7 +634,6 @@
vp->vls_str[vp->vls_offset + vp->vls_len] = '\0'; /* force null
termination */
}
-
void
bu_vls_trimspace(struct bu_vls *vp)
{
@@ -685,12 +683,12 @@
#define ALL_LENGTHMODS (ALL_INTMODS | ALL_DOUBLEMODS)
/* variables reset for each fmt specifier */
- int flags;
- int fieldlen = -1;
- int left_justify = 0;
- int have_dot = 0;
- int have_digit = 0;
- int precision = 0;
+ int fieldlen = -1;
+ int flags = 0;
+ int have_digit = 0;
+ int have_dot = 0;
+ int left_justify = 0;
+ int precision = 0;
char buf[BUFSIZ] = {0};
@@ -721,12 +719,12 @@
/* Saw a percent sign, now need to find end of fmt specifier */
/* All gets reset for this fmt specifier */
- flags = 0;
- fieldlen = -1;
- left_justify = 0;
- have_dot = 0;
- have_digit = 0;
- precision = 0;
+ fieldlen = -1;
+ flags = 0;
+ have_digit = 0;
+ have_dot = 0;
+ left_justify = 0;
+ precision = 0;
ep = sp;
while (*ep) {
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits