-Warnings related to variables being used without initialization. Intialized the variables.
Actually, the variables were not beng used without initialization but the cases where the variables are being used are mutually exclusive.
So, varaibles have to be intialized to some intial value to remove the warning.
Change-Id: I4041e9d3256c40acb8cdbebbc810275123601603
void csensor_event_dispatcher::send_sensor_events(void* events, int event_cnt, bool is_hub_event)
{
- sensor_event_t *sensor_events;
- sensorhub_event_t *sensor_hub_events;
+ sensor_event_t *sensor_events = NULL;
+ sensorhub_event_t *sensor_hub_events = NULL;
cclient_info_manager& client_info_manager = get_client_info_manager();
const int RESERVED_CLIENT_CNT = 20;