Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions axevent/send_event/app/send_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,4 @@ gint main(void) {

// Free g_main_loop
g_main_loop_unref(main_loop);

return 0;
}
2 changes: 0 additions & 2 deletions axevent/subscribe_to_event/app/subscribe_to_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,4 @@ int main(void) {

// Free g_main_loop
g_main_loop_unref(main_loop);

return 0;
}
2 changes: 0 additions & 2 deletions axevent/subscribe_to_events/app/subscribe_to_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,4 @@ int main(void) {

// Free struct data
g_slice_free(ptzmove, ptzmove_data);

return 0;
}
1 change: 0 additions & 1 deletion axparameter/app/axparameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,4 @@ int main(void) {

g_main_loop_unref(loop);
ax_parameter_free(handle);
return 0;
}
2 changes: 0 additions & 2 deletions axserialport/app/axserialport.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ static gboolean send_timer_data(gpointer data) {

/**
* @brief Main function
*
* @return Result
*/
int main(void) {
gint fd = 0;
Expand Down
2 changes: 0 additions & 2 deletions hello-world/app/hello_world.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ int main(void) {

/* Choose between { LOG_INFO, LOG_CRIT, LOG_WARN, LOG_ERR }*/
syslog(LOG_INFO, "Hello World!");

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,4 @@ int main(void) {
mdb_connection_destroy(&connection);

syslog(LOG_INFO, "Subscriber closed...");

return 0;
}
2 changes: 0 additions & 2 deletions remote-debug-example/app/remote_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,4 @@ int main(void) {

/* This line will not be reached */
syslog(LOG_INFO, "%s", message);

return 0;
}
2 changes: 0 additions & 2 deletions reproducible-package/app/reproducible_package.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ int main(void) {

/* Choose between { LOG_INFO, LOG_CRIT, LOG_WARN, LOG_ERR }*/
syslog(LOG_INFO, "Hello Reproducible World!");

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@
*/
int main(void) {
log_hello_world();
return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,4 @@ int main(void) {
}
// Cleanup of curl global environment
curl_global_cleanup();
return 0;
}
1 change: 0 additions & 1 deletion vapix/app/vapix_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,4 @@ int main(void) {
free(credentials);
curl_easy_cleanup(handle);
curl_global_cleanup();
return 0;
}
1 change: 0 additions & 1 deletion web-server/app/web_server_rev_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,4 @@ int main(void) {

mklib_stop(context);
g_main_loop_unref(loop);
return 0;
}