[vlc-commits] vlc_services_discovery: don't return void
Steve Lhomme
git at videolan.org
Wed Jul 12 12:01:23 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Jul 12 11:20:47 2017 +0200| [7c32101c938ef1ffa2660d07a77773e9756f8e7b] | committer: Jean-Baptiste Kempf
vlc_services_discovery: don't return void
Even though the compiler is OK with it.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c32101c938ef1ffa2660d07a77773e9756f8e7b
---
include/vlc_services_discovery.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/vlc_services_discovery.h b/include/vlc_services_discovery.h
index 6f3dd77739..e4dfcd3985 100644
--- a/include/vlc_services_discovery.h
+++ b/include/vlc_services_discovery.h
@@ -157,7 +157,7 @@ VLC_API void vlc_sd_Destroy( services_discovery_t * );
static inline void services_discovery_AddItem(services_discovery_t *sd,
input_item_t *item)
{
- return sd->owner.item_added(sd, NULL, item, NULL);
+ sd->owner.item_added(sd, NULL, item, NULL);
}
/**
@@ -181,7 +181,7 @@ static inline void services_discovery_AddSubItem(services_discovery_t *sd,
input_item_t *parent,
input_item_t *item)
{
- return sd->owner.item_added(sd, parent, item, NULL);
+ sd->owner.item_added(sd, parent, item, NULL);
}
/**
@@ -195,7 +195,7 @@ static inline void services_discovery_AddItemCat(services_discovery_t *sd,
input_item_t *item,
const char *category)
{
- return sd->owner.item_added(sd, NULL, item, category);
+ sd->owner.item_added(sd, NULL, item, category);
}
/**
@@ -207,7 +207,7 @@ static inline void services_discovery_AddItemCat(services_discovery_t *sd,
static inline void services_discovery_RemoveItem(services_discovery_t *sd,
input_item_t *item)
{
- return sd->owner.item_removed(sd, item);
+ sd->owner.item_removed(sd, item);
}
/* SD probing */
More information about the vlc-commits
mailing list