Wireshark-bugs: [Wireshark-bugs] [Bug 5790] New: Add Partial Flag and fix clang warning for Mong

Date: Mon, 28 Mar 2011 11:32:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5790

           Summary: Add Partial Flag and fix clang warning for Mongo
                    Dissector
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: alexis.lagoutte@xxxxxxxxx


Build Information:

--
Hi
2 patch :
* Add a new bit flag (partial) in query request.
* Fix following clang warning :
packet-mongo.c:396:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_kill_cursors(tvb, offset,
mongo_tree);
                        ^       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:393:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_delete(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:390:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_getmore(tvb, offset,
mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:387:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_query(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:384:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_insert(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:381:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_update(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:378:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_msg(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packet-mongo.c:375:4: warning: Value stored to 'offset' is never read
                        offset = dissect_mongo_reply(tvb, offset, mongo_tree);
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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