Allow for clean GCC warnings if libuninames not used here.

Prior GCC cleanup removed them, but they're needed if libuninameslist used.
Merge pull request #386 from JoesCat/master

small detail, but important - need to keep variables that got removed earlier.