Frameworks/base: Fix two warnings in cmds

Change-Id: Ifb9c7fb7a2d28c13010ddc186bea5f5f0daefb4a
3 files changed