Commit b34f7bf1 authored by Evgeniy Isaev's avatar Evgeniy Isaev Committed by Mouse

Fixed `shadow` warning

parent ebc4c3e1
......@@ -236,10 +236,11 @@ REAL__dump(double d, int canonical, asn_app_consume_bytes_f *cb, void *app_key)
assert(*s == 0x45);
{
int sign;
char *E = s;
char *expptr = ++E;
char *s = expptr;
int sign;
s = expptr;
if(*expptr == 0x2b /* '+' */) {
/* Skip the "+" */
......
......@@ -43,12 +43,12 @@
* Return a standardized complex structure.
*/
#undef RETURN
#define RETURN(_code) \
do { \
asn_dec_rval_t rval; \
rval.code = _code; \
rval.consumed = consumed_myself; \
return rval; \
#define RETURN(_code) \
do { \
asn_dec_rval_t _rval; \
_rval.code = _code; \
_rval.consumed = consumed_myself; \
return _rval; \
} while(0)
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment