libdvr: Coverity uninitialized variable issues [1/1]

PD#SWPL-99888

Problem:
Uninitialized scalar variable issues with dvr_prop_read/dvr_prop_write.

Solution:
Fix those issues reported by Coverity.

Verify:
Locally tested OK in RDK AH212 environment.

Signed-off-by: Wentao.MA <wentao.ma@amlogic.com>
Change-Id: I0cf6879a2a625c75ef3e04816a826cc8e9b7b3ba
diff --git a/src/dvr_utils.c b/src/dvr_utils.c
index 40dcfec..a8cfb53 100644
--- a/src/dvr_utils.c
+++ b/src/dvr_utils.c
@@ -135,8 +135,7 @@
     }
   }
 
-  ENTRY e, *ep;
-  e.key = name;
+  ENTRY e = {name,NULL}, *ep = NULL;
   if (hsearch_r(e,FIND,&ep,prop_htab) == 0) {
     DVR_ERROR("%s, Failed to read property %s",__func__,name);
     return DVR_FAILURE;
@@ -177,8 +176,7 @@
     }
   }
 
-  ENTRY e, *ep;
-  e.key = name;
+  ENTRY e = {name,NULL}, *ep = NULL;
   if (hsearch_r(e,FIND,&ep,prop_htab) != 0) {
     // in case matched item is found
     free(ep->data);