[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeutils/ksim
From:       Frerich Raabe <raabe () kde ! org>
Date:       2005-01-20 12:15:04
Message-ID: 20050120121504.378C61CF36 () office ! kde ! org
[Download RAW message or body]

CVS commit by raabe: 

- warnings -= 2 (changing 'char *' to 'char[]' looks funny to me)


  M +1 -2      systeminfo.cpp   1.23


--- kdeutils/ksim/systeminfo.cpp  #1.22:1.23
@@ -183,5 +183,5 @@ void System::updateData()
   struct vmtotal vmt;
   size_t vmtLength = sizeof(vmt);
-  static char *name = "vfs.bufspace";
+  static char name[] = "vfs.bufspace";
   static int oidBufspace[CTL_MAXNAME + 2];
   static size_t oidBufspaceLength = sizeof(oidBufspace);
@@ -190,5 +190,4 @@ void System::updateData()
   unsigned long memXUsed, memTotal;
   size_t memLength = sizeof(memTotal);
-  int i;
 
   if (pshift == 0) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic