mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-06 13:07:21 +00:00
Fix modern gcc warning
Review: https://reviewboard.asterisk.org/r/1767 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -168,7 +168,7 @@ Asn1SizeCnst* getSizeConstraint (OOCTXT* pctxt, ASN1BOOL extbit)
|
||||
int checkSizeConstraint(OOCTXT* pctxt, int size)
|
||||
{
|
||||
Asn1SizeCnst* pSize;
|
||||
ASN1UINT lower, upper;
|
||||
ASN1UINT upper;
|
||||
ASN1BOOL extbit;
|
||||
int stat;
|
||||
|
||||
@@ -186,7 +186,6 @@ int checkSizeConstraint(OOCTXT* pctxt, int size)
|
||||
|
||||
pSize = getSizeConstraint (pctxt, extbit);
|
||||
|
||||
lower = (pSize) ? pSize->lower : 0;
|
||||
upper = (pSize) ? pSize->upper : ASN1UINT_MAX;
|
||||
|
||||
if (upper < (ASN1UINT)size) {
|
||||
|
Reference in New Issue
Block a user