Simplify C
This commit is contained in:
parent
d1b289ff8e
commit
4b3bf5dc4b
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user