Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        etox.c 


Log Message:
Remove pointless comparison.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -3 -r1.83 -r1.84
--- etox.c      10 Jul 2004 18:11:45 -0000      1.83
+++ etox.c      10 Jul 2004 19:06:31 -0000      1.84
@@ -197,12 +197,7 @@
         * new text with the last line of the old text. Duplicate text to avoid
         * read-only memory segv's when parsing.
         */
-       if (text) {
-               text = strdup(text);
-       }
-       else {
-               text = strdup(text);
-       }
+       text = strdup(text);
 
        lines = _etox_break_text(et, text);
        FREE(text);




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to