== Why is this an issue?

include::../description.adoc[]

[source,cpp]
----
class MyClass {
public:
  int compute(int a) {
    return a * 42;
  }

  int publicField = 0; // Compliant: might be used somewhere else
private:
  int foo = 42;  // Noncompliant: foo is unused and should be removed
};
----

ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

include::../message.adoc[]

'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]

endif::env-github,rspecator-view[]
