mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +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:
@@ -425,7 +425,7 @@ int decodeDynBitString (OOCTXT* pctxt, ASN1DynBitStr* pBitStr)
|
||||
if (pctxt->flags & ASN1FASTCOPY) {
|
||||
/* check is it possible to do optimized decoding */
|
||||
|
||||
ASN1OCTET bit;
|
||||
ASN1OCTET bit = 0;
|
||||
ASN1UINT byteIndex = pctxt->buffer.byteIndex; /* save byte index */
|
||||
ASN1USINT bitOffset = pctxt->buffer.bitOffset; /* save bit offset */
|
||||
|
||||
@@ -499,7 +499,7 @@ int decodeDynOctetString (OOCTXT* pctxt, ASN1DynOctStr* pOctStr)
|
||||
if (pctxt->flags & ASN1FASTCOPY) {
|
||||
/* check if it is possible to do optimized decoding */
|
||||
|
||||
ASN1OCTET bit;
|
||||
ASN1OCTET bit = 0;
|
||||
ASN1UINT byteIndex = pctxt->buffer.byteIndex; /* save byte index */
|
||||
ASN1USINT bitOffset = pctxt->buffer.bitOffset; /* save bit offset */
|
||||
|
||||
|
Reference in New Issue
Block a user