Browse Source

[DFS] fix compiling warning.

bernard 11 years ago
parent
commit
6469a5a3d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/filesystems/nfs/rpc/pmap.c

+ 1 - 1
components/dfs/filesystems/nfs/rpc/pmap.c

@@ -24,7 +24,7 @@ unsigned short pmap_getport(struct sockaddr_in *address, unsigned long program,
 {
 	unsigned short port = 0;
 	int socket = -1;
-	register CLIENT *client;
+	register CLIENT *client = RT_NULL;
 	struct pmap parms;
 
 	address->sin_port = htons((unsigned short)PMAPPORT);