diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libblock/src/media.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libblock/src/media.c b/cpukit/libblock/src/media.c index f279337f90..cc6bb70f91 100644 --- a/cpukit/libblock/src/media.c +++ b/cpukit/libblock/src/media.c @@ -9,7 +9,7 @@ */ /* - * Copyright (c) 2009-2013 embedded brains GmbH. All rights reserved. + * Copyright (C) 2009, 2013 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -194,7 +194,7 @@ static void error( const char *dest ) { - notify(RTEMS_MEDIA_EVENT_ERROR, state, src, dest); + (void) notify(RTEMS_MEDIA_EVENT_ERROR, state, src, dest); } static media_item *get_media_item( @@ -434,7 +434,7 @@ static rtems_status_code process_event( { rtems_status_code sc = RTEMS_SUCCESSFUL; rtems_status_code sc_retry = RTEMS_SUCCESSFUL; - rtems_media_state state = RTEMS_MEDIA_STATE_FAILED; + rtems_media_state state; char *dest = NULL; do { @@ -519,7 +519,7 @@ static rtems_status_code mount_worker( &mount_options ); if (rv != 0) { - rmdir(mount_path); + (void) rmdir(mount_path); free(mount_path); (*mount_options.converter->handler->destroy)(mount_options.converter); |