X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fguile%2Fscm-type.c;h=f2e7be3e4501e08b32ad15d131589d562c48c6ec;hb=894882e344735ace5231f179484086f7697d27cc;hp=b3036adec94d85063dc3e7aaa3e726f202dfa811;hpb=a3a5feccd26be653efbdf1408874b98962baaa50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index b3036adec9..f2e7be3e45 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -1,6 +1,6 @@ /* Scheme interface to types. - Copyright (C) 2008-2017 Free Software Foundation, Inc. + Copyright (C) 2008-2018 Free Software Foundation, Inc. This file is part of GDB. @@ -224,7 +224,7 @@ tyscm_equal_p_type_smob (SCM type1_scm, SCM type2_scm) { type_smob *type1_smob, *type2_smob; struct type *type1, *type2; - int result = 0; + bool result = false; SCM_ASSERT_TYPE (tyscm_is_type (type1_scm), type1_scm, SCM_ARG1, FUNC_NAME, type_smob_name); @@ -845,7 +845,7 @@ gdbscm_type_reference (SCM self) TRY { - type = lookup_reference_type (type); + type = lookup_lvalue_reference_type (type); } CATCH (except, RETURN_MASK_ALL) { @@ -1090,7 +1090,7 @@ gdbscm_type_next_field_x (SCM self) type_smob *t_smob; struct type *type; SCM it_scm, result, progress, object; - int field, rc; + int field; it_scm = itscm_get_iterator_arg_unsafe (self, SCM_ARG1, FUNC_NAME); i_smob = (iterator_smob *) SCM_SMOB_DATA (it_scm);