portableproplib: use __attribute__((unused)) to fix a unused-but-set-variable warning.