commit | 8d1434ab2a0e370a2bee800d427621f9ab18f60c | [log] [tgz] |
---|---|---|
author | Naseer Ahmed <naseer@codeaurora.org> | Fri Mar 31 15:31:18 2017 -0400 |
committer | Naseer Ahmed <naseer@codeaurora.org> | Fri Mar 31 16:01:26 2017 -0400 |
tree | 591aed1117dbd5f3f62d160c45b59d3117cb54b4 | |
parent | ffb4b396ed2ed2a51a478daa8b1635d0a0ccbfe0 [diff] [blame] |
qdutils: Return on null param Clients can use null param to unset metadata CRs-Fixed: 2027597 Change-Id: Ia6ce7af5445938da4d0c66d9e184d82cc3f4b5b7
diff --git a/libqdutils/qdMetaData.cpp b/libqdutils/qdMetaData.cpp index af86eee..f1eece9 100644 --- a/libqdutils/qdMetaData.cpp +++ b/libqdutils/qdMetaData.cpp
@@ -71,6 +71,8 @@ // If parameter is NULL reset the specific MetaData Key if (!param) { data->operation &= ~paramType; + // param unset + return 0; } data->operation |= paramType;