Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.9
-
None
-
clang 3.0
-
Patch Available
Description
In lib/cpp/src/server/TServer.h there are two instances that the member 'processorFactory_' is initialized from itself. This causes the following warnings in clang 3.0
/usr/local/include/thrift/server/TServer.h:147:23: error: field is uninitialized when used here
[-Werror,-Wuninitialized]
processorFactory_(processorFactory_) {
^
/usr/local/include/thrift/server/TServer.h:230:23: error: field is uninitialized when used here
[-Werror,-Wuninitialized]
processorFactory_(processorFactory_),
^