libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] Bug in put_unwind_info?


From: Lassi Tuura
Subject: [Libunwind-devel] Bug in put_unwind_info?
Date: Tue, 23 Mar 2010 16:07:38 +0100

Hi,

I noticed there's a strange stray-looking semi-colon in else if branch in 
src/dwarf/Gparser.c:

  static inline void
  put_unwind_info (struct dwarf_cursor *c, unw_proc_info_t *pi)
  {
    if (!c->pi_valid)
      return;

    if (c->pi_is_dynamic)
      unwi_put_dynamic_unwind_info (c->as, pi, c->as_arg);
    else if (pi->unwind_info);
      {
        mempool_free (&dwarf_cie_info_pool, pi->unwind_info);
        pi->unwind_info = NULL;
      }
  }

Is that ";" trailing on "if", prior to {} block really intentional?

Regards,
Lassi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]