Revert "DPM: Fix DPM GCC6 warning errors." 81/106981/2 accepted/tizen/3.0/common/20161227.101705 accepted/tizen/3.0/ivi/20161227.012031 accepted/tizen/3.0/mobile/20161227.011937 accepted/tizen/3.0/tv/20161227.011956 accepted/tizen/3.0/wearable/20161227.012014 submit/tizen_3.0/20161226.011357
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 26 Dec 2016 05:00:08 +0000 (14:00 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 26 Dec 2016 05:02:18 +0000 (14:02 +0900)
commit4be34a7cebf46ccc0223f27d9d01c9650a2df9b9
treee9cd69fb7542b7e0268825b510cbff0c7de67970
parent81c26f2913846d8c6b11727d113d8f7c44f46357
Revert "DPM: Fix DPM GCC6 warning errors."

This reverts commit 69a889b2872947fc8034b4dd787eb1a210d9a2b0.
Fix the next build error in tizen_3.0

178s] [ 88%] Building C object bt-service/CMakeFiles/bt-service.dir/bt-service-dpm.c.o
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: excess elements in union initializer [-Werror]
[  179s]   [DPM_POLICY_ALLOW_BLUETOOTH] = { {DPM_BT_ERROR, NULL} },
[  179s]   ^
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: (near initialization for 'policy_table[0].<anonymous>') [-Werror]
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:36:2: error: excess elements in union initializer [-Werror]
[  179s]   [DPM_POLICY_BLUETOOTH_DEVICE_RESTRICTION] = { {DPM_STATUS_ERROR, NULL} },

Change-Id: I549af70370af09ace903822e17f993b47bc98c9c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bt-service-dpm.c