Simplify C

This commit is contained in:
Greg Shuflin 2023-07-23 22:21:13 -07:00
parent d1b289ff8e
commit 4b3bf5dc4b

View File

@ -20,12 +20,9 @@ extern void rust_main();
int main(int argc, char *argv[])
{
rust_main();
int r;
unsigned char *input;
unsigned char *input = NULL;
input = NULL;
r = input_get(&input, "Enter input: ");
int r = input_get(&input, "Enter input: ");
if (r < 0)
{
error_log("Could not get input.");