* Removed -Wno-unused from all KernelMergeObjects in kernel Jamfiles.

* Fixed most of the warnings resulting from that by removing actually not used
  variables or moving declaration into the #IF. Left unused functions there
  though, as I wouldn't know if they are supposed to be used again.
* Fixed two statements with no effect (clamping to MAX_ANCILLARY_DATA_LEN in
  socket.cpp and unsetting fCounterSem in MessagingService.cpp).
* Some style cleanups.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2008-07-04 23:14:19 +00:00
parent 4d9151c499
commit a8f9741c8c
28 changed files with 66 additions and 113 deletions
-2
View File
@@ -856,8 +856,6 @@ _user_seek(int fd, off_t pos, int seekType)
status_t
_user_ioctl(int fd, ulong op, void *buffer, size_t length)
{
struct file_descriptor *descriptor;
if (!IS_USER_ADDRESS(buffer))
return B_BAD_ADDRESS;