Build warning cleanup policyengine.cpp unit test 95/20595/2
authorGeorge Nash <george.nash@intel.com>
Tue, 30 May 2017 22:49:12 +0000 (15:49 -0700)
committerRandeep Singh <randeep.s@samsung.com>
Fri, 9 Jun 2017 02:17:15 +0000 (02:17 +0000)
This cleans up [-Wcomment] warning from gcc.

This warning is given if comments end in the '\',
i.e. the line continuation character, because this
will cause the comment to be wrapped to the next
line of code.

This removes the error without changing the code.

Change-Id: I1323d4236f73985613b4acadc5655863310ab9f2
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20489
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
(cherry picked from commit 1e70a844529a8810975f091c1869cef92946f8d2)
Reviewed-on: https://gerrit.iotivity.org/gerrit/20595
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/csdk/security/unittest/policyengine.cpp

index c973ffd..37926ed 100644 (file)
@@ -74,8 +74,7 @@ extern OicSecDoxm_t *gDoxm;
 //     }
 //     else
 //     {
-//         printf("%s WARNING: InitDoxmResource() returned ERROR!\n", \
-//             PE_UT_TAG);
+//         printf("%s WARNING: InitDoxmResource() returned ERROR!\n", PE_UT_TAG);
 //     }
 // }
 
@@ -101,14 +100,12 @@ extern OicSecDoxm_t *gDoxm;
 //         }
 //         else
 //         {
-//             printf("%s WARNING: GetDoxmDevOwnerId() returned ERROR!\n", \
-//                 PE_UT_TAG);
+//             printf("%s WARNING: GetDoxmDevOwnerId() returned ERROR!\n", PE_UT_TAG);
 //         }
 //     }
 //     else
 //     {
-//         printf("%s WARNING: InitDoxmResource() returned ERROR!\n", \
-//                 PE_UT_TAG);
+//         printf("%s WARNING: InitDoxmResource() returned ERROR!\n", PE_UT_TAG);
 //     }
 // }