* missing braces around initializer
* unused variable
Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: I368918fa2525afb0c0d23c969ca4506d328e566a
static void
tlm_auth_plugin_default_init (TlmAuthPluginDefault *self)
{
- struct sigaction sa = { 0 };
+ struct sigaction sa = {
+ .sa_handler = _on_signal_cb,
+ };
g_weak_ref_init (&__self, self);
- sa.sa_handler = _on_signal_cb;
if (sigaction(SIGUSR1, &sa, NULL) != 0) {
WARN ("assert(sigaction()) : %s", strerror(errno));
}
{
char str[1024];
gchar **argv = NULL;
- gint wait = 0;
pid_t child_pid = 0;
if (!l || !l->fp) return;