raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=08d01379878c40f4d2f717a6dafcb922c91b6bce

commit 08d01379878c40f4d2f717a6dafcb922c91b6bce
Author: Nibha Sharma <[email protected]>
Date:   Tue Dec 16 20:08:31 2014 +0900

    Logically dead code has been removed.Because width will always be less than 
HOST_BITS_PER_INT so else branch will never execute.
    
    Reviewers: singh.amitesh, seoz, cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1506
---
 src/bin/edje/epp/cppexp.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/bin/edje/epp/cppexp.c b/src/bin/edje/epp/cppexp.c
index 79d6f3f..44a3a81 100644
--- a/src/bin/edje/epp/cppexp.c
+++ b/src/bin/edje/epp/cppexp.c
@@ -381,10 +381,7 @@ cpp_lex(struct operation *op, cpp_reader * pfile)
                /* Merge character into result; ignore excess chars.  */
                if (num_chars < max_chars + 1)
                  {
-                    if (width < HOST_BITS_PER_INT)
-                       result = (result << width) | (c & ((1 << width) - 1));
-                    else
-                       result = c;
+                     result = (result << width) | (c & ((1 << width) - 1));
 #ifdef MULTIBYTE_CHARS
                     token_buffer[num_chars - 1] = c;
 #endif

-- 


Reply via email to