Browse Source

Remove semicolon style warnings

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Konstantin Goncharik 8 years ago
parent
commit
1646b9d575
6 changed files with 12 additions and 12 deletions
  1. 1 1
      Ck.cpp
  2. 1 1
      Ck.h
  3. 1 1
      PAM.cpp
  4. 1 1
      PAM.h
  5. 7 7
      panel.cpp
  6. 1 1
      util.h

+ 1 - 1
Ck.cpp

@@ -140,7 +140,7 @@ namespace Ck {
   {
 	dbus_error_free(&error);
   }
-};
+}
 
 std::ostream& operator<<( std::ostream& os, const Ck::Exception& e)
 {

+ 1 - 1
Ck.h

@@ -39,7 +39,7 @@ namespace Ck {
 	Session();
 	~Session();
 	};
-};
+}
 
 std::ostream &operator<<(std::ostream &os, const Ck::Exception &e);
 

+ 1 - 1
PAM.cpp

@@ -265,7 +265,7 @@ namespace PAM {
 	char** Authenticator::getenvlist(void){
 		return pam_getenvlist(pam_handle);
 	}
-};
+}
 
 std::ostream& operator<<( std::ostream& os, const PAM::Exception& e){
 	os << e.func_name << ": " << e.errstr;

+ 1 - 1
PAM.h

@@ -93,7 +93,7 @@ namespace PAM {
 		Authenticator(const PAM::Authenticator&);
 		Authenticator& operator=(const PAM::Authenticator&);
 	};
-};
+}
 
 std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
 #endif /* _PAM_H_ */

+ 7 - 7
panel.cpp

@@ -814,21 +814,21 @@ void Panel::SlimDrawString8(XftDraw *d, XftColor *color, XftFont *font,
 
 Panel::ActionType Panel::getAction(void) const{
 	return action;
-};
+}
 
 void Panel::Reset(void){
 	ResetName();
 	ResetPasswd();
-};
+}
 
 void Panel::ResetName(void){
 	NameBuffer.clear();
-};
+}
 
 void Panel::ResetPasswd(void){
 	PasswdBuffer.clear();
 	HiddenPasswdBuffer.clear();
-};
+}
 
 void Panel::SetName(const string& name){
 	NameBuffer=name;
@@ -836,15 +836,15 @@ void Panel::SetName(const string& name){
 		action = Login;
 	else
 		action = Lock;
-};
+}
 
 const string& Panel::GetName(void) const{
 	return NameBuffer;
-};
+}
 
 const string& Panel::GetPasswd(void) const{
 	return PasswdBuffer;
-};
+}
 
 Rectangle Panel::GetPrimaryViewport() {
 	Rectangle fallback;

+ 1 - 1
util.h

@@ -19,6 +19,6 @@ namespace Util {
 	long random(void);
 
 	long makeseed(void);
-};
+}
 
 #endif /* _UTIL_H__ */