projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e4720
)
Removed missing parantheses warning
95/32495/1
author
Ankur
<ankur29.garg@samsung.com>
Thu, 18 Dec 2014 14:28:08 +0000
(19:58 +0530)
committer
Ankur
<ankur29.garg@samsung.com>
Thu, 18 Dec 2014 14:28:17 +0000
(19:58 +0530)
-Added missing parantheses arounf an assignment in a condition.
-Removed Missing Parantheses Warning.
Change-Id: Ib7814ef31a911896e868b11cfc057284573bee7a
src/shared/sensor_plugin_loader.cpp
patch
|
blob
|
history
diff --git
a/src/shared/sensor_plugin_loader.cpp
b/src/shared/sensor_plugin_loader.cpp
index
09f6711
..
8aa70d1
100755
(executable)
--- a/
src/shared/sensor_plugin_loader.cpp
+++ b/
src/shared/sensor_plugin_loader.cpp
@@
-227,7
+227,7
@@
bool sensor_plugin_loader::get_paths_from_dir(const string &dir_path, vector<str
string name;
- while (
dir_entry = readdir(dir
)) {
+ while (
(dir_entry = readdir(dir)
)) {
name = string(dir_entry->d_name);
if (equal(PLUGIN_POSTFIX.rbegin(), PLUGIN_POSTFIX.rend(), name.rbegin())) {