aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-26 01:21:10 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-26 01:21:10 -0700
commit0bc644abf06d1cf903ed7bf59302894f80d18971 (patch)
treeda229cd4505d34800af22e10c8f61d380d6a88b3 /proc.cpp
parent31b7d076b7bff8d7bb81e6a1fff58755b7baa10b (diff)
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.cpp b/proc.cpp
index 17a5fd9b..2bf212db 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -283,7 +283,7 @@ int job_is_stopped( const job_t *j )
int job_is_completed( const job_t *j )
{
process_t *p;
-
+ assert(j->first_process != NULL);
for (p = j->first_process; p->next; p = p->next)
;