From 0c8e776c12f347f8d739ab17e90eb1941ef1398f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Tue, 30 Jul 2013 11:13:51 +0200 Subject: [PATCH] Silenced a compiler warning in ntfs-3g.probe Avoid some compilers to complain about a missing return value... --- src/ntfs-3g.probe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ntfs-3g.probe.c b/src/ntfs-3g.probe.c index a50b8f97..cb73aee4 100644 --- a/src/ntfs-3g.probe.c +++ b/src/ntfs-3g.probe.c @@ -159,6 +159,8 @@ int main(int argc, char *argv[]) err = ntfs_open(opts.device); free(opts.device); - exit(err); + if (err) + exit(err); + return (0); }