1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

fix some warnings

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12707 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2008-09-25 18:24:53 +00:00
parent 8114ef99e3
commit a7c35fcd0d
2 changed files with 4 additions and 2 deletions

View File

@@ -138,9 +138,11 @@ int mtd_write_buffer(int fd, const char *buf, int offset, int length)
static int
image_check(int imagefd, const char *mtd)
{
int ret = 0;
#ifdef target_brcm
return trx_check(imagefd, mtd, buf, &buflen);
ret = trx_check(imagefd, mtd, buf, &buflen);
#endif
return ret;
}
static int mtd_check(const char *mtd)