summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-01-15 05:57:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-01-15 05:57:33 +0000
commit7169b2303d9340b3537e5059f1790a246490b899 (patch)
treecba0b7c815f3047b4c8f651a67e4d3223e93e1e2
parent3352c5037526e1f5cd3291a4853c497e488b824c (diff)
parent21095d0cae64c70b4ac7e90af7a6787019cc317a (diff)
downloadsystem_core-7169b2303d9340b3537e5059f1790a246490b899.zip
system_core-7169b2303d9340b3537e5059f1790a246490b899.tar.gz
system_core-7169b2303d9340b3537e5059f1790a246490b899.tar.bz2
Merge "fs_mgr: correct warning on unused function parameter"
-rw-r--r--fs_mgr/fs_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c
index 6d9d20c..2ba8017 100644
--- a/fs_mgr/fs_mgr.c
+++ b/fs_mgr/fs_mgr.c
@@ -821,7 +821,7 @@ int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc, char *real_blk_dev
/* Add an entry to the fstab, and return 0 on success or -1 on error */
int fs_mgr_add_entry(struct fstab *fstab,
const char *mount_point, const char *fs_type,
- const char *blk_device, long long length)
+ const char *blk_device, long long length __attribute__(unused))
{
struct fstab_rec *new_fstab_recs;
int n = fstab->num_entries;