Wireshark-commits: [Wireshark-commits] rev 50318: /trunk/epan/ /trunk/epan/: proto.c
Date: Tue, 02 Jul 2013 18:36:00 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50318

User: darkjames
Date: 2013/07/02 11:36 AM

Log:
 Remove not needed TRY_TO_FAKE_THIS_ITEM() from proto_tree_*_format & proto_tree_*_format_value
 
 Right now for proto_tree_add format & _format_value TRY_TO_FAKE_THIS_ITEM() is called twice
 one from 'format' function, second time from 'no format' function.
 
 This reduces size of .text by 10K:
    text    data     bss     dec     hex filename
   76012     112      56   76180   12994 proto-after.o
   86324     112      56   86492   151dc proto-before.o

Directory: /trunk/epan/
  Changes    Path          Action
  +180 -244  proto.c       Modified