1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-11 18:38:45 +00:00

Added missing break statements and a missing freebsd kernel check

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1003 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Kevin Lyles 2008-02-20 10:01:00 +00:00
parent 2a7a05342f
commit 32c8f71eaa

View File

@ -2055,6 +2055,7 @@ static void free_text_objects(unsigned int count, struct text_object *objs)
case OBJ_bmpx_track: case OBJ_bmpx_track:
case OBJ_bmpx_uri: case OBJ_bmpx_uri:
case OBJ_bmpx_bitrate: case OBJ_bmpx_bitrate:
break;
#endif #endif
#ifdef RSS #ifdef RSS
case OBJ_rss: case OBJ_rss:
@ -2063,6 +2064,7 @@ static void free_text_objects(unsigned int count, struct text_object *objs)
break; break;
#endif #endif
case OBJ_pre_exec: case OBJ_pre_exec:
break;
#ifndef __OpenBSD__ #ifndef __OpenBSD__
case OBJ_battery: case OBJ_battery:
free(objs[i].data.s); free(objs[i].data.s);
@ -7919,7 +7921,8 @@ int main(int argc, char **argv)
/* handle other command line arguments */ /* handle other command line arguments */
#if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
|| defined(__NetBSD__)
optind = optreset = 1; optind = optreset = 1;
#else #else
optind = 0; optind = 0;