summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>1998-09-27 08:29:50 +0000
committerRichard Sharpe <sharpe@samba.org>1998-09-27 08:29:50 +0000
commitecd8ca2431ef949a66433b3a72217dd485b1b300 (patch)
treeb9bb30d9c2e943f2ac429e4907f573cc23ea902e /source3/rpcclient/rpcclient.c
parent6da95a6f1d17ad69ab572fbc627167f5edb593fb (diff)
downloadsamba-ecd8ca2431ef949a66433b3a72217dd485b1b300.tar.gz
samba-ecd8ca2431ef949a66433b3a72217dd485b1b300.tar.bz2
samba-ecd8ca2431ef949a66433b3a72217dd485b1b300.zip
Fixed up more possibly uninitialized variables.
Now only two compilation warnings seem to be left. Luke may want to check the changes I made. (This used to be commit 2456c95c1664a57aa939695c884ec666ec8168ec)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index a994fc27fc..203b2c00bf 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -546,7 +546,10 @@ enum client_action
{
case 'm':
{
- int max_protocol = interpret_protocol(optarg,max_protocol);
+ /* FIXME ... max_protocol seems to be funny here */
+
+ int max_protocol = 0;
+ max_protocol = interpret_protocol(optarg,max_protocol);
fprintf(stderr, "max protocol not currently supported\n");
break;
}