summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
-rw-r--r--source3/smbd/uid.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 1317346df3..f58f71f884 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -971,6 +971,8 @@ static int cmd_quit(void)
{
cli_shutdown(cli);
exit(0);
+ /* NOTREACHED */
+ return 0;
}
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index b1012c3c91..2151068de5 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -360,7 +360,7 @@ BOOL become_user(connection_struct *conn, uint16 vuid)
return True;
}
-BOOL unbecome_user()
+BOOL unbecome_user(void)
{
pop_sec_ctx();
pop_conn_ctx();