mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Fixed compiler warnings in dd.
This commit is contained in:
parent
0eb778d849
commit
464607dc90
1 changed files with 4 additions and 1 deletions
|
|
@ -188,9 +188,12 @@ static int dd_verify(FAR const char *infile, FAR const char *outfile,
|
|||
FAR struct dd_s *dd)
|
||||
{
|
||||
FAR uint8_t *buffer;
|
||||
int sector = 0;
|
||||
unsigned sector = 0;
|
||||
int ret = OK;
|
||||
|
||||
UNUSED(infile);
|
||||
UNUSED(outfile);
|
||||
|
||||
ret = lseek(dd->infd, dd->skip ? dd->skip * dd->sectsize : 0, SEEK_SET);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue