Fix warnings about diff and base possibly not initialized
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 5 Sep 2014 01:00:53 +0000 (18:00 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 11 Sep 2014 17:56:04 +0000 (10:56 -0700)
commit49cf38ab98c9c222ed4f26b60f0463e9865ebbbf
treeb883c298692bd1183f2e901d9e455eb2770abc9c
parent4fbdf6bb56c7efefd20b70055cd603aa018d73d0
Fix warnings about diff and base possibly not initialized

This is a bogus warning by GCC, but it's easy to fix by having an "else"
case with no extra conditions.

Change-Id: I0f99527065138ff96c0613a57b0462613139900c
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
csdk/ocrandom/src/ocrandom.c