summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/sqlite
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-01 23:42:53 +0100
commit92036ede2d4488a67bfff21821db0507430fcf43 (patch)
tree3c55f8101dda18e4e0337db8fa4926f6478098b7 /src/3rdparty/sqlite
parent0f0b7ff115ae07da28e438ce92022e48c26e9289 (diff)
downloadqt3-92036ede2d4488a67bfff21821db0507430fcf43.tar.gz
qt3-92036ede2d4488a67bfff21821db0507430fcf43.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
Diffstat (limited to 'src/3rdparty/sqlite')
-rw-r--r--src/3rdparty/sqlite/printf.c8
-rw-r--r--src/3rdparty/sqlite/util.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/3rdparty/sqlite/printf.c b/src/3rdparty/sqlite/printf.c
index 620578d..dd7c1d1 100644
--- a/src/3rdparty/sqlite/printf.c
+++ b/src/3rdparty/sqlite/printf.c
@@ -360,8 +360,8 @@ static int vxprintf(
}
bufpt = &buf[etBUFSIZE-1];
{
- register char *cset; /* Use registers for speed */
- register int base;
+ char *cset; /* Use registers for speed */
+ int base;
cset = infop->charset;
base = infop->base;
do{ /* Convert to ascii */
@@ -602,7 +602,7 @@ static int vxprintf(
** the output.
*/
if( !flag_leftjustify ){
- register int nspace;
+ int nspace;
nspace = width-length;
if( nspace>0 ){
count += nspace;
@@ -618,7 +618,7 @@ static int vxprintf(
count += length;
}
if( flag_leftjustify ){
- register int nspace;
+ int nspace;
nspace = width-length;
if( nspace>0 ){
count += nspace;
diff --git a/src/3rdparty/sqlite/util.c b/src/3rdparty/sqlite/util.c
index 16b3b46..6dc07ec 100644
--- a/src/3rdparty/sqlite/util.c
+++ b/src/3rdparty/sqlite/util.c
@@ -500,14 +500,14 @@ int sqliteHashNoCase(const char *z, int n){
** there is no consistency, we will define our own.
*/
int sqliteStrICmp(const char *zLeft, const char *zRight){
- register unsigned char *a, *b;
+ unsigned char *a, *b;
a = (unsigned char *)zLeft;
b = (unsigned char *)zRight;
while( *a!=0 && UpperToLower[*a]==UpperToLower[*b]){ a++; b++; }
return *a - *b;
}
int sqliteStrNICmp(const char *zLeft, const char *zRight, int N){
- register unsigned char *a, *b;
+ unsigned char *a, *b;
a = (unsigned char *)zLeft;
b = (unsigned char *)zRight;
while( N-- > 0 && *a!=0 && UpperToLower[*a]==UpperToLower[*b]){ a++; b++; }
@@ -941,7 +941,7 @@ static int sqlite_utf8_to_int(const unsigned char *z){
*/
int
sqliteGlobCompare(const unsigned char *zPattern, const unsigned char *zString){
- register int c;
+ int c;
int invert;
int seen;
int c2;
@@ -1030,7 +1030,7 @@ sqliteGlobCompare(const unsigned char *zPattern, const unsigned char *zString){
*/
int
sqliteLikeCompare(const unsigned char *zPattern, const unsigned char *zString){
- register int c;
+ int c;
int c2;
while( (c = UpperToLower[*zPattern])!=0 ){