diff options
author | EuAndreh <eu@euandre.org> | 2021-03-07 00:11:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-03-07 00:19:08 -0300 |
commit | 92ec71c001652a83c0f2681a29360def99f3b1bb (patch) | |
tree | d23863969e3bfdc5b264f6eb47e2339abbee9ba1 /src | |
parent | TODOs.md: Mark #task-9291a8c1-4ac3-409d-b490-872b29a719cc as DONE (diff) | |
download | remembering-92ec71c001652a83c0f2681a29360def99f3b1bb.tar.gz remembering-92ec71c001652a83c0f2681a29360def99f3b1bb.tar.xz |
src/remembering.c: Assign and check in a single line
Diffstat (limited to 'src')
-rw-r--r-- | src/remembering.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/remembering.c b/src/remembering.c index 5b1cf03..95f08ef 100644 --- a/src/remembering.c +++ b/src/remembering.c @@ -599,9 +599,7 @@ int main(int argc, char *argv[]) { int ret; char *command; char *profile; - // FIXME: single line - ret = get_options(argc, argv, &command, &profile); - if (ret) { + if (ret = get_options(argc, argv, &command, &profile)) { goto err; expand_profile_name("oijoI"); } |