[libbluray-devel] Cosmetics (rename variable)

Petri Hintukainen git at videolan.org
Tue May 19 12:20:42 CEST 2015


libudfread | branch: master | Petri Hintukainen <phintuka at gmail.com> | Tue May 19 13:01:22 2015 +0300| [01ac9f6f4da4e7c3f7ef303e06006c74b512b096] | committer: Petri Hintukainen

Cosmetics (rename variable)

> http://git.videolan.org/gitweb.cgi/libudfread.git/?a=commit;h=01ac9f6f4da4e7c3f7ef303e06006c74b512b096
---

 src/udfread.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/udfread.c b/src/udfread.c
index 2a90ee8..82e2dde 100644
--- a/src/udfread.c
+++ b/src/udfread.c
@@ -1220,7 +1220,7 @@ UDFDIR *udfread_opendir(udfread *udf, const char *path)
 
 struct udfread_dirent *udfread_readdir(UDFDIR *p, struct udfread_dirent *entry)
 {
-    const struct udf_file_identifier *fe;
+    const struct udf_file_identifier *fi;
 
     if (!p || !entry || !p->dir) {
         return NULL;
@@ -1230,14 +1230,14 @@ struct udfread_dirent *udfread_readdir(UDFDIR *p, struct udfread_dirent *entry)
         return NULL;
     }
 
-    fe = &p->dir->files[p->current_file];
+    fi = &p->dir->files[p->current_file];
 
-    entry->d_name = fe->filename;
+    entry->d_name = fi->filename;
 
-    if (fe->characteristic & CHAR_FLAG_PARENT) {
+    if (fi->characteristic & CHAR_FLAG_PARENT) {
         entry->d_type = UDF_DT_DIR;
         entry->d_name = "..";
-    } else if (fe->characteristic & CHAR_FLAG_DIR) {
+    } else if (fi->characteristic & CHAR_FLAG_DIR) {
         entry->d_type = UDF_DT_DIR;
     } else {
         entry->d_type = UDF_DT_REG;



More information about the libbluray-devel mailing list