diff mbox series

[commited] Fix comma at end of enumerator list seen with -std=c++98.

Message ID 1abc13b8-2416-34fc-2aa8-9a1e8ee99224@suse.cz
State New
Headers show
Series [commited] Fix comma at end of enumerator list seen with -std=c++98. | expand

Commit Message

Martin Liška March 21, 2020, 7:06 a.m. UTC
Hi.

The following patch fixes many warnings seen with -std=c++98:

include/plugin-api.h:144:16: warning: comma at end of enumerator list [-Wpedantic]

Installed as obvious.

Martin

include/ChangeLog:

2020-03-21  Martin Liska  <mliska@suse.cz>

	* plugin-api.h (enum ld_plugin_symbol_type): Remove
	comma after last value of an enum.
---
  include/plugin-api.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/plugin-api.h b/include/plugin-api.h
index f0f9667bf3b..673f136ce68 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -141,7 +141,7 @@  enum ld_plugin_symbol_type
 {
   LDST_UNKNOWN,
   LDST_FUNCTION,
-  LDST_VARIABLE,
+  LDST_VARIABLE
 };
 
 enum ld_plugin_symbol_section_kind