Prefer NULL over 0 and not need to initialize globals with zero as pointed

out by Axel.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26610 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Maurice Kalinowski
2008-07-24 12:57:41 +00:00
parent 0d4d5abea1
commit 8e27997c00
+2 -2
View File
@@ -23,7 +23,7 @@ using std::map;
static const int kVirtualDescriptorStart = 10000;
typedef map<int, BPrivate::Descriptor*> DescriptorMap;
static DescriptorMap *sDescriptors = 0;
static DescriptorMap *sDescriptors;
namespace BPrivate {
@@ -355,7 +355,7 @@ delete_descriptor(int fd)
if (sDescriptors->size() == 0) {
delete sDescriptors;
sDescriptors = 0;
sDescriptors = NULL;
}
return error;
}