am 818f8004: Merge "logd: used before set warning"

* commit '818f80045fe4c925a7739a1d1e69e3ebb3a3dbd9':
  logd: used before set warning