diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-06-27 14:35:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-06-27 21:38:55 +0000 |
commit | 39b22b7411401275d07e101c441f9892cf384def (patch) | |
tree | 6afaf80b3fc9560a0547de263279f1d5e06f0562 /capture_opts.h | |
parent | d169cdf644da7c8f995811f9471e84641484aa33 (diff) | |
download | wireshark-39b22b7411401275d07e101c441f9892cf384def.tar.gz |
Fix the "don't initialize with non-constant variables" item.
It only applies to variables with static storage duration, i.e. global
and static variables. Expand the example of how to do it, to make it a
bit clearer.
Change-Id: Ie0c473a35a77351dd10d6c9df2c34a39f077fca4
Reviewed-on: https://code.wireshark.org/review/22430
Reviewed-by: Guy Harris <guy@alum.mit.edu>
(cherry picked from commit 7321df2a4532d6531eab75f99c5f158ffd90574b)
Reviewed-on: https://code.wireshark.org/review/22431
Diffstat (limited to 'capture_opts.h')
0 files changed, 0 insertions, 0 deletions