Update of /cvsroot/plib/plib/src/pui
In directory usw-pr-cvs1:/tmp/cvs-serv15569
Modified Files:
puLargeInput.cxx
Log Message:
Removed unnecessary "if"
Index: puLargeInput.cxx
===================================================================
RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- puLargeInput.cxx 23 Mar 2002 15:06:44 -0000 1.30
+++ puLargeInput.cxx 23 Mar 2002 16:26:40 -0000 1.31
@@ -1134,7 +1134,7 @@
// Wrap the text in "text" and put it in "wrapped_text"
int l_len = strlen (text) ;
- if ( wrapped_text ) delete [] wrapped_text ;
+ delete [] wrapped_text ;
wrapped_text = new char[l_len + 1] ;
memcpy(wrapped_text, text, l_len + 1) ;
|