mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:23:01 +01:00
remove useless var
This commit is contained in:
parent
b34b51e8c1
commit
4419be36e8
@ -1308,9 +1308,6 @@ int main(int argc, char **argv)
|
|||||||
execute(prompt->chatwin->history, prompt, m, avatarstr, GLOBAL_COMMAND_MODE);
|
execute(prompt->chatwin->history, prompt, m, avatarstr, GLOBAL_COMMAND_MODE);
|
||||||
|
|
||||||
uint64_t last_save = (uint64_t) time(NULL);
|
uint64_t last_save = (uint64_t) time(NULL);
|
||||||
uint64_t looptimer = last_save;
|
|
||||||
useconds_t msleepval = 40000;
|
|
||||||
uint64_t loopcount = 0;
|
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
do_toxic(m, prompt);
|
do_toxic(m, prompt);
|
||||||
@ -1326,8 +1323,7 @@ int main(int argc, char **argv)
|
|||||||
last_save = cur_time;
|
last_save = cur_time;
|
||||||
}
|
}
|
||||||
|
|
||||||
msleepval = tox_iteration_interval(m);
|
usleep(tox_iteration_interval(m));
|
||||||
usleep(msleepval);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user