diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-24 09:53:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:42 -0500 |
commit | 5645acdb67ec077db4c0d4eae45cb7374e5b760f (patch) | |
tree | e0cd53b8a67ed69917ed739bd7210b9dd9058722 /source4/torture/smb2/find.c | |
parent | 46cdf9250b7dcd3551ffe845ddaf03514ff9a204 (diff) | |
download | samba-5645acdb67ec077db4c0d4eae45cb7374e5b760f.tar.gz samba-5645acdb67ec077db4c0d4eae45cb7374e5b760f.tar.bz2 samba-5645acdb67ec077db4c0d4eae45cb7374e5b760f.zip |
r17786: remove unused macros, fix compiler warnings
metze
(This used to be commit 7670e224d4be7035bb07fdaa0d156c5f109f20cc)
Diffstat (limited to 'source4/torture/smb2/find.c')
-rw-r--r-- | source4/torture/smb2/find.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/torture/smb2/find.c b/source4/torture/smb2/find.c index 2edcdc427c..762d2493d6 100644 --- a/source4/torture/smb2/find.c +++ b/source4/torture/smb2/find.c @@ -53,15 +53,6 @@ static struct { ret = False; \ }} while (0) -#define CHECK_STRING(call_name, stype, field1, field2) do { \ - union smb_search_data *d = find_level("SMB2_FIND_" #call_name); \ - if (strcmp(io.all_info2.out.field2.s, d->stype.field1.s) != 0) { \ - printf("(%s) %s/%s should be '%s' - '%s'\n", __location__, \ - #call_name, #field2, \ - io.all_info2.out.field2.s, d->stype.field1.s); \ - ret = False; \ - }} while (0) - #define CHECK_CONST_STRING(call_name, stype, field, str) do { \ union smb_search_data *d = find_level("SMB2_FIND_" #call_name); \ if (strcmp(str, d->stype.field.s) != 0) { \ |