This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 3/4] btrace: change record instruction-history /m


On Tue, Oct 27, 2015 at 2:54 AM, Markus Metzger
<markus.t.metzger@intel.com> wrote:
>...
> +/* Return non-zero if RANGE is empty, zero otherwise.  */
> +
> +static int
> +btrace_line_range_is_empty (struct btrace_line_range range)
> +{
> +  return (range.end <= range.begin);
> +}

Convention says no parentheses here.
Ok with that fixed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]