aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 04:30:20 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-12-03 04:30:20 +0000
commitb058becb925f480962f0dc23c307528f5f21838f (patch)
tree3b4ced82f86c60f83d9657aa816292a8610679f9
parente778f818c2ddf0bd9032185a9d4040df5705c4cc (diff)
downloadobf-b058becb925f480962f0dc23c307528f5f21838f.tar.gz
obf-b058becb925f480962f0dc23c307528f5f21838f.tar.bz2
obf-b058becb925f480962f0dc23c307528f5f21838f.zip
Fix errors with clang
-rw-r--r--obc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/obc.c b/obc.c
index 227f980..3d9cd0d 100644
--- a/obc.c
+++ b/obc.c
@@ -70,6 +70,10 @@ int main(int argc, char *argv[])
return 1;
}
+ char *file_data = NULL;
+ buffer_t *buffer = NULL, *asm_buffer = NULL;
+ struct PResult res = {0};
+
struct Config config = {0};
int ret = parse_config(&config, argc, argv);
if (!ret)
@@ -79,10 +83,6 @@ int main(int argc, char *argv[])
}
ret = 0;
- char *file_data = NULL;
- buffer_t *buffer = NULL, *asm_buffer = NULL;
- struct PResult res = {0};
-
FILE *handle = fopen(config.prog_name, "r");
if (!handle)
{