scrivener.cpp: In constructor 'Node::Node()':
scrivener.cpp:18:16: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In constructor 'Node::Node(int, char, int)':
scrivener.cpp:26:16: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In function 'int makeNode(int, char, int)':
scrivener.cpp:38:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In function 'void TypeLetter(char)':
scrivener.cpp:52:9: warning: unused variable 'i' [-Wunused-variable]
int i, j;
^
scrivener.cpp:52:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In function 'void UndoCommands(int)':
scrivener.cpp:62:9: warning: unused variable 'i' [-Wunused-variable]
int i, j;
^
scrivener.cpp:62:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In function 'char GetLetter(int)':
scrivener.cpp:69:12: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
scrivener.cpp: In constructor 'Node::Node()':
scrivener.cpp:21:36: warning: iteration 21 invokes undefined behavior [-Waggressive-loop-optimizations]
for(i=0; i<=30; i++) par[i]=-1;
~~~~~~^~~
scrivener.cpp:21:19: note: within this loop
for(i=0; i<=30; i++) par[i]=-1;
~^~~~