From 05bff44937922c0a7519952201f6854b72d38483 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 13 Mar 2015 00:16:40 +0100 Subject: Remove trailing comma after last item in enums This allows compilation with GCC in pedantic mode. --- src/base/QXmppSocks.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/base/QXmppSocks.cpp') diff --git a/src/base/QXmppSocks.cpp b/src/base/QXmppSocks.cpp index 1bfc1111..82ccd096 100644 --- a/src/base/QXmppSocks.cpp +++ b/src/base/QXmppSocks.cpp @@ -33,19 +33,19 @@ const static char SocksVersion = 5; enum AuthenticationMethod { NoAuthentication = 0, GSSAPI = 1, - UsernamePassword = 2, + UsernamePassword = 2 }; enum Command { ConnectCommand = 1, BindCommand = 2, - AssociateCommand = 3, + AssociateCommand = 3 }; enum AddressType { IPv4Address = 1, DomainName = 3, - IPv6Address = 4, + IPv6Address = 4 }; enum ReplyType { @@ -57,13 +57,13 @@ enum ReplyType { ConnectionRefused = 5, TtlExpired = 6, CommandNotSupported = 7, - AddressTypeNotSupported = 8, + AddressTypeNotSupported = 8 }; enum State { ConnectState = 0, CommandState = 1, - ReadyState = 2, + ReadyState = 2 }; static QByteArray encodeHostAndPort(quint8 type, const QByteArray &host, quint16 port) -- cgit v1.2.3