fix build after merge
Change-Id: I6f5bcb6ac11c0726e312021146c9f378bc0010c5
diff --git a/modules/vehicle/vehicle.c b/modules/vehicle/vehicle.c
index b5ea444..69bfad3 100644
--- a/modules/vehicle/vehicle.c
+++ b/modules/vehicle/vehicle.c
@@ -290,13 +290,11 @@
}
void print_subscribe_info(vehicle_device_impl_t* impl) {
- char buf[100];
int i;
for (i = 0; i < sizeof(CONFIGS) / sizeof(vehicle_prop_config_t); i++) {
subscription_t* sub = (subscription_t*)CONFIGS[i].hal_data;
if (sub != NULL) {
- sprintf(buf, "prop: %d rate: %f", sub->prop, sub->sample_rate);
- ALOGD(buf);
+ ALOGD("prop: %d rate: %f", sub->prop, sub->sample_rate);
}
}
}
@@ -391,7 +389,7 @@
ALOGD("exiting subscription request here.");
// Do any cleanup here.
pthread_mutex_unlock(&sub->lock);
- return 0;
+ return;
}
struct timespec now;
clock_gettime(CLOCK_REALTIME, &now);