/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
}
/* Remove notification keys */
- if ((keyCnt = CFSetGetCount(storePrivate->keys)) > 0) {
- void **watchedKeys;
+ keyCnt = CFSetGetCount(storePrivate->keys);
+ if (keyCnt > 0) {
+ const void **watchedKeys;
CFArrayRef keysToRemove;
CFIndex i;
}
/* Remove regex notification keys */
- if ((keyCnt = CFSetGetCount(storePrivate->reKeys)) > 0) {
- void **watchedKeys;
+ keyCnt = CFSetGetCount(storePrivate->reKeys);
+ if (keyCnt > 0) {
+ const void **watchedKeys;
CFArrayRef keysToRemove;
CFIndex i;