fix: Revert "fix: LGTM warnings/alerts" commit

This commit is contained in:
David Leal 2021-04-25 19:44:15 -05:00
parent b6cc0c5601
commit fb778074c7
No known key found for this signature in database
GPG Key ID: 3C482B03FD220E68

View File

@ -41,7 +41,7 @@ int main(int argc, char *argv[])
// printf("1/%-4u\t ", deno); // printf("1/%-4u\t ", deno);
unsigned short index = 0, num_digits; unsigned short index = 0, num_digits;
while (true) while (rem != 0)
{ {
rem = (rem * 10) % deno; rem = (rem * 10) % deno;
if (rem == 0) if (rem == 0)