Initialize a variable and add assert() to check it.
Initialize a variable and add assert() to check it.

In case of internal error, "t" may remain uninitialized.
Initialize it to NULL. It should get a value of the chosen word.

In the current version, it cannot remain NULL (previously it could be
set to NULL for removing an empty word). Add asset() to validate that.

ampli/link-grammar,linas/link-grammar,ampli/link-grammar,opencog/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,opencog/link-grammar,ampli/link-grammar,ampli/link-grammar,MadBomber/link-grammar,opencog/link-grammar,ampli/link-grammar,opencog/link-grammar,linas/link-grammar,MadBomber/link-grammar,opencog/link-grammar,opencog/link-grammar,linas/link-grammar,opencog/link-grammar,opencog/link-grammar,MadBomber/link-grammar,linas/link-grammar,ampli/link-grammar,linas/link-grammar,ampli/link-grammar,linas/link-grammar,linas/link-grammar,linas/link-grammar,opencog/link-grammar,linas/link-grammar,ampli/link-grammar,ampli/link-grammar