Remove const to silence warnings.

This should be optimized out anyway.
This commit is contained in:
Danila Fedorin 2016-12-21 13:23:14 -08:00
parent 00eeb01299
commit 440120f1da

View File

@ -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);