Fixed compile warning: statement with no effect in dm.c