[COMMITTED] ctfc: remove redundant comma in enumerator list

Message ID 1634145070-8301-1-git-send-email-indu.bhagat@oracle.com
State New
Headers show
Series
  • [COMMITTED] ctfc: remove redundant comma in enumerator list
Related show

Commit Message

Jeff Law via Gcc-patches Oct. 13, 2021, 5:11 p.m.
This also helps get rid of warning

ctfc.h:215:18: warning: comma at end of enumerator list [-Wpedantic]
   CTF_DTU_D_SLICE,

gcc/ChangeLog:

	* ctfc.h (enum ctf_dtu_d_union_enum): Remove redundant comma.
---
 gcc/ctfc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.8.3.1

Patch

diff --git a/gcc/ctfc.h b/gcc/ctfc.h
index a0b7e41..701c7ea 100644
--- a/gcc/ctfc.h
+++ b/gcc/ctfc.h
@@ -212,7 +212,7 @@  enum ctf_dtu_d_union_enum {
   CTF_DTU_D_ARRAY,
   CTF_DTU_D_ENCODING,
   CTF_DTU_D_ARGUMENTS,
-  CTF_DTU_D_SLICE,
+  CTF_DTU_D_SLICE
 };
 
 enum ctf_dtu_d_union_enum