projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2823629
)
yaffs direct: Clean up braces
author
Charles Manning
<cdhmanning@gmail.com>
Fri, 7 Jan 2011 01:21:00 +0000
(14:21 +1300)
committer
Charles Manning
<cdhmanning@gmail.com>
Fri, 7 Jan 2011 01:21:00 +0000
(14:21 +1300)
Change bracing style.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffsfs.c
patch
|
blob
|
history
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index e3bc19d7fcfca36108ec07c68e748ecae413341c..e4f6df07565dfd5e1fe776425f1a92266c081014 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-650,13
+650,11
@@
static struct yaffs_obj *yaffsfs_DoFindDirectory(struct yaffs_obj *startDir,
/* got to the end of the string */
return dir;
else{
- if(strcmp(str,_Y(".")) == 0)
- {
+ if(strcmp(str,_Y(".")) == 0){
/* Do nothing */
- }
- else if(strcmp(str,_Y("..")) == 0)
+ } else if(strcmp(str,_Y("..")) == 0) {
dir = dir->parent;
- else{
+
}
else{
dir = yaffs_find_by_name(dir,str);
dir = yaffsfs_FollowLink(dir,symDepth,loop);