parent
bd8a6667cf
commit
a61808707f
|
|
@ -38,7 +38,7 @@
|
||||||
*
|
*
|
||||||
* Return 0 on success and -1 on error with errno set to the error code.
|
* Return 0 on success and -1 on error with errno set to the error code.
|
||||||
*/
|
*/
|
||||||
int ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx)
|
int ntfs_attrlist_entry_rm(ntfs_attr_search_ctx *ctx __attribute__((unused)))
|
||||||
{
|
{
|
||||||
errno = ENOTSUP;
|
errno = ENOTSUP;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,9 @@ static int parse_options (int argc, char **argv)
|
||||||
/**
|
/**
|
||||||
* cat
|
* cat
|
||||||
*/
|
*/
|
||||||
static int cat (ntfs_volume *vol, ntfs_inode *inode, ATTR_TYPES type, ntfschar *name, int namelen)
|
static int cat (ntfs_volume *vol __attribute__((unused)), ntfs_inode *inode,
|
||||||
|
ATTR_TYPES type, ntfschar *name __attribute__((unused)),
|
||||||
|
int namelen __attribute__((unused)))
|
||||||
{
|
{
|
||||||
/* increase 1024 only if you fix partial writes below */
|
/* increase 1024 only if you fix partial writes below */
|
||||||
const int bufsize = 1024;
|
const int bufsize = 1024;
|
||||||
|
|
|
||||||
|
|
@ -398,7 +398,7 @@ static int dump_file (ntfs_volume *vol, ntfs_inode *ino)
|
||||||
* print_match
|
* print_match
|
||||||
*/
|
*/
|
||||||
static int print_match (ntfs_inode *ino, ATTR_RECORD *attr,
|
static int print_match (ntfs_inode *ino, ATTR_RECORD *attr,
|
||||||
runlist_element *run, void *data)
|
runlist_element *run, void *data __attribute__((unused)))
|
||||||
{
|
{
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -463,8 +463,8 @@ static int readdir_recursive(ntfs_inode * ni, s64 * pos, ntfsls_dirent * dirent)
|
||||||
*/
|
*/
|
||||||
static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name,
|
static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name,
|
||||||
const int name_len, const int name_type,
|
const int name_len, const int name_type,
|
||||||
const s64 pos, const MFT_REF mref,
|
const s64 pos __attribute__((unused)),
|
||||||
const unsigned dt_type)
|
const MFT_REF mref, const unsigned dt_type)
|
||||||
{
|
{
|
||||||
char *filename = NULL;
|
char *filename = NULL;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue