Back to the main page.

Bug 3364 - ft_warning returns incorrect warning state if you change something

Status NEW
Reported 2017-10-17 13:14:00 +0200
Modified 2017-10-17 13:14:03 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2017-10-17 13:14:03 +0200

if I do pre = ft_warning; ws = ft_warning('off', 'FieldTrip:whatever') ft_warning(ws) post = ft_warning; the state does not return to the original.