Fixes to Notifications preflet

* CID-1501: protect against dynamic_cast potentially returning NULL
* additional style fixes
* fixed all warnings and enabled -Werror

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38188 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-08-17 14:56:51 +00:00
parent 6137279338
commit 2655efc395
6 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -1406,7 +1406,7 @@ if $(HAIKU_NO_WERROR) != 1 {
EnableWerror src preferences media ;
EnableWerror src preferences mouse ;
EnableWerror src preferences network ;
# EnableWerror src preferences notifications ;
EnableWerror src preferences notifications ;
EnableWerror src preferences opengl ;
EnableWerror src preferences print ;
EnableWerror src preferences screen ;