mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
silence warnings on OSX clang3.0 (issue #480)
This commit is contained in:
parent
562d45ab86
commit
b2297d1dd6
6
3rdparty/sqlite3/sqlite3.c
vendored
6
3rdparty/sqlite3/sqlite3.c
vendored
@ -66815,7 +66815,7 @@ static int vdbeRecordCompareWithSkip(
|
|||||||
|
|
||||||
/* RHS is a string */
|
/* RHS is a string */
|
||||||
else if( pRhs->flags & MEM_Str ){
|
else if( pRhs->flags & MEM_Str ){
|
||||||
getVarint32(&aKey1[idx1], serial_type);
|
(void) getVarint32(&aKey1[idx1], serial_type);
|
||||||
testcase( serial_type==12 );
|
testcase( serial_type==12 );
|
||||||
if( serial_type<12 ){
|
if( serial_type<12 ){
|
||||||
rc = -1;
|
rc = -1;
|
||||||
@ -66846,7 +66846,7 @@ static int vdbeRecordCompareWithSkip(
|
|||||||
|
|
||||||
/* RHS is a blob */
|
/* RHS is a blob */
|
||||||
else if( pRhs->flags & MEM_Blob ){
|
else if( pRhs->flags & MEM_Blob ){
|
||||||
getVarint32(&aKey1[idx1], serial_type);
|
(void) getVarint32(&aKey1[idx1], serial_type);
|
||||||
testcase( serial_type==12 );
|
testcase( serial_type==12 );
|
||||||
if( serial_type<12 || (serial_type & 0x01) ){
|
if( serial_type<12 || (serial_type & 0x01) ){
|
||||||
rc = -1;
|
rc = -1;
|
||||||
@ -67016,7 +67016,7 @@ static int vdbeRecordCompareString(
|
|||||||
int serial_type;
|
int serial_type;
|
||||||
int res;
|
int res;
|
||||||
|
|
||||||
getVarint32(&aKey1[1], serial_type);
|
(void) getVarint32(&aKey1[1], serial_type);
|
||||||
if( serial_type<12 ){
|
if( serial_type<12 ){
|
||||||
res = pPKey2->r1; /* (pKey1/nKey1) is a number or a null */
|
res = pPKey2->r1; /* (pKey1/nKey1) is a number or a null */
|
||||||
}else if( !(serial_type & 0x01) ){
|
}else if( !(serial_type & 0x01) ){
|
||||||
|
Loading…
Reference in New Issue
Block a user