Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeClean] unnecessary header #227

Merged
merged 1 commit into from
Jan 2, 2025
Merged
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
11 changes: 8 additions & 3 deletions src/libnnstreamer-edge/nnstreamer-edge-internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <poll.h>
#include <dlfcn.h>

#include "nnstreamer-edge-data.h"
#include "nnstreamer-edge-event.h"
Expand Down Expand Up @@ -1579,7 +1578,10 @@ nns_edge_release_handle (nns_edge_h edge_h)
}
break;
case NNS_EDGE_CONNECT_TYPE_CUSTOM:
nns_edge_custom_release (&eh->custom);
if (nns_edge_custom_release (&eh->custom) !=
NNS_EDGE_ERROR_NONE) {
nns_edge_logw ("Failed to close custom connection.");
}
break;
default:
break;
Expand Down Expand Up @@ -2041,7 +2043,10 @@ nns_edge_set_info (nns_edge_h edge_h, const char *key, const char *value)
if (ret == NNS_EDGE_ERROR_NONE &&
NNS_EDGE_CONNECT_TYPE_CUSTOM == eh->connect_type) {
/* Pass value to custom library and ignore error. */
nns_edge_custom_set_info (&eh->custom, key, value);
if (nns_edge_custom_set_info (&eh->custom, key, value) !=
NNS_EDGE_ERROR_NONE) {
nns_edge_logw ("Failed to set info '%s' in custom connection.", key);
}
}

nns_edge_unlock (eh);
Expand Down
Loading