Merge pull request #12 from martinetd/duplex-13

fix new gcc warnings: defined but not used static consts