Removed whitespace after line end, accoring to Google style guidelines "whitespace/end_of_line"

This commit is contained in:
Stefan Persson 2012-12-05 11:28:27 +01:00
parent e38eb0f72d
commit fb79664508
6 changed files with 53 additions and 57 deletions

View file

@ -59,7 +59,6 @@ void EventHandler::signal(Event *event) {
}
bool EventHandler::waitForAny() {
while(1) {
int result = WaitForMultipleObjects(d->eventCount, d->eventArray, FALSE, 1000);
if (result == WAIT_TIMEOUT) {

View file

@ -59,7 +59,7 @@ void Socket::connect(const std::wstring &server) {
0, // no sharing
NULL, // default security attributes
OPEN_EXISTING, // opens existing pipe
FILE_FLAG_OVERLAPPED, // default attributes
FILE_FLAG_OVERLAPPED, // default attributes
NULL); // no template file
if (d->hPipe == INVALID_HANDLE_VALUE) {

View file

@ -60,7 +60,6 @@ ConnectionListener::ConnectionListener(const std::wstring &name, TelldusCore::Ev
ea.Trustee.TrusteeType = TRUSTEE_IS_WELL_KNOWN_GROUP;
ea.Trustee.ptstrName = (LPTSTR) pEveryoneSID;
// Add the ACL to the security descriptor.
if (!SetSecurityDescriptorDacl(pSD,
TRUE, // bDaclPresent flag

View file

@ -133,7 +133,6 @@ int Settings::getNextNodeId(Node type) const {
long lnExists = RegCreateKeyEx(d->rootKey, d->getNodePath(type).c_str(), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hk, &dwDisp); //create or open if already created
if(lnExists == ERROR_SUCCESS) {
DWORD dwLength = sizeof(DWORD);
DWORD nResult(0);
@ -146,7 +145,6 @@ int Settings::getNextNodeId(Node type) const {
}
DWORD dwVal = intReturn;
RegSetValueEx (hk, L"LastUsedId", 0L, REG_DWORD, (CONST BYTE*) &dwVal, sizeof(DWORD));
}
RegCloseKey(hk);
return intReturn;