mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[NETFILTER]: nf_nat_snmp: sparse warning
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
edc26f7aaa
commit
06aa10728e
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc)
|
|||
{
|
||||
unsigned char ch;
|
||||
|
||||
if (eoc == 0) {
|
||||
if (eoc == NULL) {
|
||||
if (!asn1_octet_decode(ctx, &ch))
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue