diff options
author | Nibha Sharma <nibha.sharma@samsung.com> | 2014-12-16 20:08:31 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-12-16 20:10:25 +0900 |
commit | 08d01379878c40f4d2f717a6dafcb922c91b6bce (patch) | |
tree | 3b741625433072a9d2bb8a70c50fd6ab132f43ef /src/bin/edje | |
parent | ce311db03064d9e8b9de568396596fc54372da5b (diff) |
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
Diffstat (limited to 'src/bin/edje')
-rw-r--r-- | src/bin/edje/epp/cppexp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/edje/epp/cppexp.c b/src/bin/edje/epp/cppexp.c index 79d6f3f49d..44a3a811ab 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) | |||
381 | /* Merge character into result; ignore excess chars. */ | 381 | /* Merge character into result; ignore excess chars. */ |
382 | if (num_chars < max_chars + 1) | 382 | if (num_chars < max_chars + 1) |
383 | { | 383 | { |
384 | if (width < HOST_BITS_PER_INT) | 384 | result = (result << width) | (c & ((1 << width) - 1)); |
385 | result = (result << width) | (c & ((1 << width) - 1)); | ||
386 | else | ||
387 | result = c; | ||
388 | #ifdef MULTIBYTE_CHARS | 385 | #ifdef MULTIBYTE_CHARS |
389 | token_buffer[num_chars - 1] = c; | 386 | token_buffer[num_chars - 1] = c; |
390 | #endif | 387 | #endif |