/in/database.c: In function 'LOAD':
/in/database.c:86:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < strlen(token); j++) {
^
/in/database.c:90:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < strlen(token); j++) {
^
/in/database.c: In function 'LIST':
/in/database.c:113:22: warning: ISO C forbids empty initializer braces [-Wpedantic]
char temp[360] = {};
^
/in/database.c:114:24: warning: ISO C forbids empty initializer braces [-Wpedantic]
char *tempx[360] = {};
^
/in/database.c: In function 'INSERT':
/in/database.c:143:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<strlen(a);i++){
^
/in/database.c:146:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int m = p+2;m< strlen(a);m++) {
^
/in/database.c:157:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<strlen(token);j++)
^
/in/database.c:162:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<strlen(token);j++)
^
/in/database.c: In function 'UPDATE':
/in/database.c:193:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < strlen(a); i++) {
^
/in/database.c:205:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:210:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:214:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; f < strlen(a); f++) {
^
/in/database.c:222:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int m = g+2;m<strlen(a)-1;m++){
^
/in/database.c:226:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:231:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:243:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w = 0; w < strlen(db->tables[r].assignments[m].course); w++) {
^
/in/database.c:247:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(d[1]=='a'){for (int w=0;w<strlen(db->tables[r].assignments[m].name);w++)
^
/in/database.c:262:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w = 0; w < strlen(db->tables[r].assignments[m].course); w++) {
^
/in/database.c:266:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(d[1]=='a'){for (int w=0;w<strlen(db->tables[r].assignments[m].name);w++)
^
/in/database.c:280:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w = 0; w < strlen(db->tables[r].assignments[m].course); w++) {
^
/in/database.c:284:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(d[1]=='a'){for (int w=0;w<strlen(db->tables[r].assignments[m].name);w++)
^
/in/database.c:298:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w = 0; w < strlen(db->tables[r].assignments[m].course); w++) {
^
/in/database.c:302:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(d[1]=='a'){for (int w=0;w<strlen(db->tables[r].assignments[m].name);w++)
^
/in/database.c: In function 'DELETE':
/in/database.c:327:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;i<strlen(a);i++){
^
/in/database.c:333:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int m = p+2;m<strlen(a)-1;m++){
^
/in/database.c:339:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:344:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c: In function 'SELECT':
/in/database.c:433:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (t = n; t < strlen(a); t++) {
^
/in/database.c:461:29: warning: statement with no effect [-Wunused-value]
for (m; m < db->tables[j].assignNum; m++) {
^~~
/in/database.c:476:29: warning: statement with no effect [-Wunused-value]
for (m; m < db->tables[j].assignNum; m++) {
^~~
/in/database.c:519:29: warning: statement with no effect [-Wunused-value]
for (m; m < db->tables[j].assignNum; m++) {
^~~
/in/database.c:534:29: warning: statement with no effect [-Wunused-value]
for (m; m < db->tables[j].assignNum; m++) {
^~~
/in/database.c:411:66: warning: unused variable 'z' [-Wunused-variable]
int n = 0, j = 0, k = 0, s = 0, t = 0, fx = 0, p = 0,x=0,z=0;
^
/in/database.c:411:62: warning: unused variable 'x' [-Wunused-variable]
int n = 0, j = 0, k = 0, s = 0, t = 0, fx = 0, p = 0,x=0,z=0;
^
/in/database.c:411:56: warning: unused variable 'p' [-Wunused-variable]
int n = 0, j = 0, k = 0, s = 0, t = 0, fx = 0, p = 0,x=0,z=0;
^
/in/database.c:410:14: warning: unused variable 's5' [-Wunused-variable]
char s5[50] = {0};
^~
/in/database.c:407:14: warning: unused variable 'h' [-Wunused-variable]
char h[50] = {0};
^
/in/database.c: In function 'SELECT1':
/in/database.c:577:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;i<strlen(a);i++){
^
/in/database.c:583:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;q<strlen(a);q++){
^
/in/database.c:592:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:597:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int w=0;w<strlen(token);w++)
^
/in/database.c:601:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int y = 0;y<strlen(a)-1;y++){
^
/in/database.c:604:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int m = g+3;m<strlen(a);m++){
^
/in/database.c:574:10: warning: unused variable 'l' [-Wunused-variable]
char l[360]={0};
^
/in/database.c:573:10: warning: unused variable 'e' [-Wunused-variable]
char e[360]={0};
^
/in/database.c: In function 'AUTO':
/in/database.c:787:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int q = n + 1; q < strlen(t); q++) {
^
/in/database.c: In function 'main':
/in/database.c:841:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int q = n + 1; q < strlen(query); q++) {
^
/in/database.c: In function 'INSERT':
/in/database.c:146:13: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int m = p+2;m< strlen(a);m++) {
^