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;