summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-22 17:46:25 +0000
committerTim Potter <tpot@samba.org>2002-08-22 17:46:25 +0000
commitb781c7af193b0e6cc0ba50bc91ea7b19ae0baf52 (patch)
tree1b3b55f1b0b4545c370a2674d1fe96caeddf1a57 /source3
parent752f2adec593170b3711736b584c28b7daf82be4 (diff)
downloadsamba-b781c7af193b0e6cc0ba50bc91ea7b19ae0baf52.tar.gz
samba-b781c7af193b0e6cc0ba50bc91ea7b19ae0baf52.tar.bz2
samba-b781c7af193b0e6cc0ba50bc91ea7b19ae0baf52.zip
More compile warnings.
(This used to be commit 8303ff62609bd57af457bc1f1527c58657225fdf)
Diffstat (limited to 'source3')
-rw-r--r--source3/profile/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index bbcfc780e8..689f67da99 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -25,8 +25,10 @@
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
#endif /* WITH_PROFILE */
+#ifdef WITH_PROFILE
static int shm_id;
static BOOL read_only;
+#endif
struct profile_header *profile_h;
struct profile_stats *profile_p;