Fix errors with clang
This commit is contained in:
8
obc.c
8
obc.c
@@ -70,6 +70,10 @@ int main(int argc, char *argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *file_data = NULL;
|
||||||
|
buffer_t *buffer = NULL, *asm_buffer = NULL;
|
||||||
|
struct PResult res = {0};
|
||||||
|
|
||||||
struct Config config = {0};
|
struct Config config = {0};
|
||||||
int ret = parse_config(&config, argc, argv);
|
int ret = parse_config(&config, argc, argv);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
@@ -79,10 +83,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
char *file_data = NULL;
|
|
||||||
buffer_t *buffer = NULL, *asm_buffer = NULL;
|
|
||||||
struct PResult res = {0};
|
|
||||||
|
|
||||||
FILE *handle = fopen(config.prog_name, "r");
|
FILE *handle = fopen(config.prog_name, "r");
|
||||||
if (!handle)
|
if (!handle)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user