Skip to content

Commit cd6e602

Browse files
authored
Merge pull request #240 from fperrad/20170622_lint
more linting
2 parents 1725b87 + 446fec1 commit cd6e602

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pk/asn1/der/generalizedtime/der_decode_generalizedtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ static int _char_to_int(unsigned char x)
2929
case '7': return 7;
3030
case '8': return 8;
3131
case '9': return 9;
32+
default: return 100;
3233
}
33-
return 100;
3434
}
3535

3636
#define DECODE_V(y, max) do {\

src/pk/asn1/der/utctime/der_decode_utctime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ static int _char_to_int(unsigned char x)
2828
case '7': return 7;
2929
case '8': return 8;
3030
case '9': return 9;
31+
default: return 100;
3132
}
32-
return 100;
3333
}
3434

3535
#define DECODE_V(y, max) \

0 commit comments

Comments
 (0)