summaryrefslogtreecommitdiff
path: root/src/fstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-09-24 03:22:58 +0000
committerMike Buland <eichlan@xagasoft.com>2008-09-24 03:22:58 +0000
commit0975d66d2f06603f5e4016440b333aac88e2958a (patch)
treecd3767fb74c2475fd78bca9ff2d3ba825dd329f4 /src/fstring.h
parent17df4c2b9616c29865b0d893cc797d4938a660a2 (diff)
downloadlibbu++-0975d66d2f06603f5e4016440b333aac88e2958a.tar.gz
libbu++-0975d66d2f06603f5e4016440b333aac88e2958a.tar.bz2
libbu++-0975d66d2f06603f5e4016440b333aac88e2958a.tar.xz
libbu++-0975d66d2f06603f5e4016440b333aac88e2958a.zip
Ok, now all the warnings are gone (except for those coming from nids, but that's
ok, nids is still in flux, they'll be gone soon).
Diffstat (limited to 'src/fstring.h')
-rw-r--r--src/fstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstring.h b/src/fstring.h
index a9b4c95..b4cae3a 100644
--- a/src/fstring.h
+++ b/src/fstring.h
@@ -138,7 +138,7 @@ namespace Bu
138 { 138 {
139 if( !pData ) return; 139 if( !pData ) return;
140 long nLen; 140 long nLen;
141 for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); 141 for( nLen = 0; pData[nLen] != (chr)0; nLen++ ) { }
142 if( nLen == 0 ) 142 if( nLen == 0 )
143 return; 143 return;
144 144
@@ -220,7 +220,7 @@ namespace Bu
220 if( pData == NULL ) 220 if( pData == NULL )
221 return; 221 return;
222 long nLen; 222 long nLen;
223 for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); 223 for( nLen = 0; pData[nLen] != (chr)0; nLen++ ) { }
224 224
225 Chunk *pNew = newChunk( nLen ); 225 Chunk *pNew = newChunk( nLen );
226 cpy( pNew->pData, pData, nLen ); 226 cpy( pNew->pData, pData, nLen );