Remove const to silence warnings.
This should be optimized out anyway.
This commit is contained in:
parent
00eeb01299
commit
440120f1da
|
@ -25,7 +25,7 @@ int test_vec_basic(){
|
||||||
}
|
}
|
||||||
int test_vec_add(){
|
int test_vec_add(){
|
||||||
vec test_vec;
|
vec test_vec;
|
||||||
const char* test_string = "test";
|
char* test_string = "test";
|
||||||
int return_code;
|
int return_code;
|
||||||
|
|
||||||
vec_init(&test_vec);
|
vec_init(&test_vec);
|
||||||
|
@ -37,7 +37,7 @@ int test_vec_add(){
|
||||||
}
|
}
|
||||||
int test_vec_remove(){
|
int test_vec_remove(){
|
||||||
vec test_vec;
|
vec test_vec;
|
||||||
const char* test_string = "test";
|
char* test_string = "test";
|
||||||
int return_code;
|
int return_code;
|
||||||
|
|
||||||
vec_init(&test_vec);
|
vec_init(&test_vec);
|
||||||
|
@ -50,7 +50,7 @@ int test_vec_remove(){
|
||||||
}
|
}
|
||||||
int test_vec_find(){
|
int test_vec_find(){
|
||||||
vec test_vec;
|
vec test_vec;
|
||||||
const char* test_string = "test";
|
char* test_string = "test";
|
||||||
int return_code;
|
int return_code;
|
||||||
|
|
||||||
vec_init(&test_vec);
|
vec_init(&test_vec);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user