Commit 836fd33b authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix cmake warnings

parent 7da2ddcc
...@@ -71,6 +71,7 @@ typedef struct audience_s { ...@@ -71,6 +71,7 @@ typedef struct audience_s {
// TODO: // TODO:
} }
} }
return *this;
// TODO: // TODO:
} }
......
...@@ -86,6 +86,7 @@ typedef struct subscription_condition_api_s { ...@@ -86,6 +86,7 @@ typedef struct subscription_condition_api_s {
subscription_condition_api_s& operator=(subscription_condition_api_s& s) { subscription_condition_api_s& operator=(subscription_condition_api_s& s) {
// TODO: // TODO:
return *this;
} }
friend void to_json( friend void to_json(
......
...@@ -191,6 +191,7 @@ typedef struct subscription_condition_s { ...@@ -191,6 +191,7 @@ typedef struct subscription_condition_s {
// TODO: // TODO:
} }
} }
return *this;
// TODO: // TODO:
} }
...@@ -258,6 +259,7 @@ typedef struct nf_service_version_s { ...@@ -258,6 +259,7 @@ typedef struct nf_service_version_s {
nf_service_version_s& operator=(const nf_service_version_s& s) { nf_service_version_s& operator=(const nf_service_version_s& s) {
api_version_in_uri = s.api_version_in_uri; api_version_in_uri = s.api_version_in_uri;
api_full_version = s.api_full_version; api_full_version = s.api_full_version;
return *this;
} }
std::string to_string() const { std::string to_string() const {
......
...@@ -54,6 +54,7 @@ bool nrf_jwt::generate_signature( ...@@ -54,6 +54,7 @@ bool nrf_jwt::generate_signature(
// Get the encoded string/assertion // Get the encoded string/assertion
signature = obj.signature(); signature = obj.signature();
return true;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
...@@ -75,6 +76,7 @@ bool nrf_jwt::generate_signature( ...@@ -75,6 +76,7 @@ bool nrf_jwt::generate_signature(
// Get the encoded string/assertion // Get the encoded string/assertion
signature = obj.signature(); signature = obj.signature();
return true;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
...@@ -83,6 +85,7 @@ bool nrf_jwt::get_secret_key( ...@@ -83,6 +85,7 @@ bool nrf_jwt::get_secret_key(
const std::string& target_nf_type, std::string& key) const { const std::string& target_nf_type, std::string& key) const {
// TODO: // TODO:
key = "secret"; key = "secret";
return true;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
...@@ -91,6 +94,7 @@ bool nrf_jwt::get_secret_key( ...@@ -91,6 +94,7 @@ bool nrf_jwt::get_secret_key(
std::string& key) const { std::string& key) const {
// TODO: // TODO:
key = "secret"; key = "secret";
return true;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment