[DFS] fix compiling warning.

This commit is contained in:
bernard
2014-04-02 14:02:36 +08:00
parent 40b7eba446
commit 6469a5a3d1

View File

@@ -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);