public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/110612] text-art: four clang warnings
Date: Fri, 21 Jul 2023 07:13:50 +0000	[thread overview]
Message-ID: <bug-110612-4-cS21rGSZDJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110612-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110612

--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Malcolm from comment #3)
> Thanks for filing this.

You are welcome.

> I believe all of these should be fixed by the above commit; please let me
> know if any such warnings remain.

I don't think this one has been mentioned already:

gcc/analyzer/access-diagram.cc:944:26: warning: private field 'm_col_widths' is
not used [-Wunused-private-field]

$ grep m_col_widths access-diagram.cc
    m_col_widths (col_widths),
    m_cell_sizes (m_col_widths, m_row_heights),
  table_dimension_sizes &m_col_widths; // Reference to shared column widths
    m_col_widths (col_widths)
  table_dimension_sizes &m_col_widths;
    m_col_widths
    for (auto w : m_col_widths->m_requirements)
      = new x_aligned_table_widget (std::move (t), m_theme, *m_col_widths);
      = new x_aligned_x_ruler_widget (*this, m_theme, *m_col_widths);
        int canvas_w = m_col_widths->m_requirements[table_x];
            = (m_col_widths->m_requirements[table_x] * fixed_point) / bit_size;
    m_col_widths->m_requirements[min_idx] += 1;
  std::unique_ptr<table_dimension_sizes> m_col_widths;
$

      parent reply	other threads:[~2023-07-21  7:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10 14:24 [Bug c/110612] New: " dcb314 at hotmail dot com
2023-07-20  9:28 ` [Bug middle-end/110612] " dcb314 at hotmail dot com
2023-07-21  0:29 ` cvs-commit at gcc dot gnu.org
2023-07-21  0:39 ` dmalcolm at gcc dot gnu.org
2023-07-21  7:13 ` dcb314 at hotmail dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-110612-4-cS21rGSZDJ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).