diff options
author | imushir | 2016-01-22 16:12:04 +0530 |
---|---|---|
committer | imushir | 2016-01-22 16:12:04 +0530 |
commit | 7bc57b2061931e5b5843ac6616591b7cff9e9476 (patch) | |
tree | acd1038d1bebd709b11576b14755d550bfde91d1 | |
parent | 0296cf3166e7250191f0e08907b65dad9e665e46 (diff) | |
download | Scilab2C-7bc57b2061931e5b5843ac6616591b7cff9e9476.tar.gz Scilab2C-7bc57b2061931e5b5843ac6616591b7cff9e9476.tar.bz2 Scilab2C-7bc57b2061931e5b5843ac6616591b7cff9e9476.zip |
removed unwanted temp variable
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/bitcmp/u16bitcmps.c | 2 | ||||
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/bitcmp/u8bitcmps.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/bitcmp/u16bitcmps.c b/2.3-1/src/c/elementaryFunctions/bitcmp/u16bitcmps.c index 19816907..fc43b37d 100644 --- a/2.3-1/src/c/elementaryFunctions/bitcmp/u16bitcmps.c +++ b/2.3-1/src/c/elementaryFunctions/bitcmp/u16bitcmps.c @@ -3,7 +3,7 @@ #include "bitcmp.h" uint16 u16bitcmps(uint16 x,uint16 y) { - unsigned char temp = x; + return (~x); } diff --git a/2.3-1/src/c/elementaryFunctions/bitcmp/u8bitcmps.c b/2.3-1/src/c/elementaryFunctions/bitcmp/u8bitcmps.c index 2a030d92..c3f18b13 100644 --- a/2.3-1/src/c/elementaryFunctions/bitcmp/u8bitcmps.c +++ b/2.3-1/src/c/elementaryFunctions/bitcmp/u8bitcmps.c @@ -3,8 +3,7 @@ #include "bitcmp.h" uint8 u8bitcmps(uint8 x,uint8 y) { - unsigned char temp = x; - return (~x); + return (~x); } |