Wireshark-bugs: [Wireshark-bugs] [Bug 5858] some 'set but not used' compilation fixes

Date: Wed, 27 Apr 2011 14:22:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5858

--- Comment #60 from Yaniv Kaul <mykaul@xxxxxxxxx> 2011-04-27 14:22:38 PDT ---
stuck on packet-dcerpc-mapi.c , which should not be manually edited, by via its
automatic IDL-based creation - but I fail to compile it from IDL.
I'm trying the following:

[ykaul@ykaul mapi]$ pwd
/home/ykaul/wireshark/epan/dissectors/pidl/mapi
[ykaul@ykaul mapi]$ ls -ltr
total 316
-rw-rw-r--. 1 ykaul ykaul 228274 Apr 27 11:01 mapitags_enum.h
-rw-rw-r--. 1 ykaul ykaul   8410 Apr 27 11:01 response.cnf.c
-rw-rw-r--. 1 ykaul ykaul   3684 Apr 27 11:01 mapi.cnf
-rw-rw-r--. 1 ykaul ykaul    670 Apr 27 11:01 Makefile
-rw-rw-r--. 1 ykaul ykaul  47739 Apr 27 11:01 mapi.idl
-rw-rw-r--. 1 ykaul ykaul   5710 Apr 27 11:01 mapicodes_enum.h
-rw-rw-r--. 1 ykaul ykaul  10189 Apr 27 11:01 request.cnf.c
-rw-rw-r--. 1 ykaul ykaul   2036 Apr 27 11:01 idl_types.h
[ykaul@ykaul mapi]$ pidl --ws-parser -- mapi.idl
Compiling mapi.idl
mapi.idl:422: warning: subcontext() is deprecated. Use represent_as() or
transmit_as() instead
mapi.idl:1592: EcDoRpc: property 'flag' not allowed on 'FUNCTION'
[ykaul@ykaul mapi]$ ls -ltr
total 316
-rw-rw-r--. 1 ykaul ykaul 228274 Apr 27 11:01 mapitags_enum.h
-rw-rw-r--. 1 ykaul ykaul   8410 Apr 27 11:01 response.cnf.c
-rw-rw-r--. 1 ykaul ykaul   3684 Apr 27 11:01 mapi.cnf
-rw-rw-r--. 1 ykaul ykaul    670 Apr 27 11:01 Makefile
-rw-rw-r--. 1 ykaul ykaul  47739 Apr 27 11:01 mapi.idl
-rw-rw-r--. 1 ykaul ykaul   5710 Apr 27 11:01 mapicodes_enum.h
-rw-rw-r--. 1 ykaul ykaul  10189 Apr 27 11:01 request.cnf.c
-rw-rw-r--. 1 ykaul ykaul   2036 Apr 27 11:01 idl_types.h


So nothing seems to be happening.

The fix I'm actually interested is in request.cnf.c, but I would like to test
it and generate a new packet-dcerpc-mapi.c to test with.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.