dmapio.c clean up to suppress compiler warnings