Avoid declaring multiple variables on the same line

This commit is contained in:
Mike Gelfand
2017-05-01 18:46:41 +03:00
parent 1bc247c105
commit e1d53855f4
56 changed files with 533 additions and 214 deletions

View File

@@ -101,8 +101,13 @@ char* tr_strlsize(char* buf, guint64 bytes, size_t buflen)
char* tr_strltime(char* buf, int seconds, size_t buflen)
{
int days, hours, minutes;
char d[128], h[128], m[128], s[128];
int days;
int hours;
int minutes;
char d[128];
char h[128];
char m[128];
char s[128];
if (seconds < 0)
{