diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-05-02 19:07:38 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-05-02 19:07:38 +0000 |
commit | 0fdfab9fc65874b7a62ff5a97df75f16c4580da9 (patch) | |
tree | c63938cad5149743ea7b12bcf5e788c31d87d6c1 | |
parent | c23899620f452fb591dfdadab72e62fa36ccb7c9 (diff) |
MSVC is picky about assignments in declarations.
svn path=/trunk/; revision=18074
-rw-r--r-- | epan/dfilter/gencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/gencode.c b/epan/dfilter/gencode.c index 7d3ef8c162..5da0b1c2ad 100644 --- a/epan/dfilter/gencode.c +++ b/epan/dfilter/gencode.c @@ -273,7 +273,7 @@ gen_relation(dfwork_t *dfw, dfvm_opcode_t op, stnode_t *st_arg1, stnode_t *st_ar /* Parse an entity, returning the reg that it gets put into. * p_jmp will be set if it has to be set by the calling code; it should - * be set tothe place to jump to, to return to the calling code, + * be set to the place to jump to, to return to the calling code, * if the load of a field from the proto_tree fails. */ static int gen_entity(dfwork_t *dfw, stnode_t *st_arg, dfvm_value_t **p_jmp) @@ -281,8 +281,8 @@ gen_entity(dfwork_t *dfw, stnode_t *st_arg, dfvm_value_t **p_jmp) sttype_id_t e_type; dfvm_insn_t *insn; header_field_info *hfinfo; - e_type = stnode_type_id(st_arg); int reg = -1; + e_type = stnode_type_id(st_arg); if (e_type == STTYPE_FIELD) { hfinfo = stnode_data(st_arg); |