Define each identifier in a dedicated statement

* MISRA C++:2008, 8-0-1 - An init-declarator-list or a member-declarator-list
  shall consist of a single init-declarator or member-declarator respectively
* CERT, DCL52-J. - Do not declare more than one variable per declaration
* CERT, DCL04-C. - Do not declare more than one variable per declaration
This commit is contained in:
Mike Gelfand
2019-03-17 09:15:35 +03:00
parent 97a0fed734
commit 5693e59256
3 changed files with 8 additions and 4 deletions

View File

@@ -219,7 +219,8 @@ static void onResponse(GtkDialog* d, int response, gpointer user_data)
{
int n;
int tier;
GtkTextIter start, end;
GtkTextIter start;
GtkTextIter end;
char* dir;
char* base;
char* tracker_text;