<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/314d57f42bbf93c0bdf92785dd43f3398a0921af">https://github.com/macports/macports-base/commit/314d57f42bbf93c0bdf92785dd43f3398a0921af</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 314d57f42bbf93c0bdf92785dd43f3398a0921af
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Tue Oct 31 11:17:47 2023 +0100

<span style='display:block; white-space:pre;color:#404040;'>    cregistry/snapshot: Drop snapshot_port_id
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This field is queried from the database, but never used anywhere, so
</span><span style='display:block; white-space:pre;color:#404040;'>    don't store it.
</span>---
 src/cregistry/snapshot.c | 2 --
 1 file changed, 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/cregistry/snapshot.c b/src/cregistry/snapshot.c
</span><span style='display:block; white-space:pre;color:#808080;'>index 8a9c14133..ac6dca0f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/cregistry/snapshot.c
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/cregistry/snapshot.c
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -315,7 +315,6 @@ int reg_snapshot_ports_get(reg_snapshot* snapshot, port*** ports, reg_error* err
</span>         int result_count = 0;
         int r;
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        sqlite_int64 snapshot_port_id;
</span>         int requested;
 
         do {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -323,7 +322,6 @@ int reg_snapshot_ports_get(reg_snapshot* snapshot, port*** ports, reg_error* err
</span>             switch (r) {
                 case SQLITE_ROW:
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    snapshot_port_id = sqlite3_column_int64(stmt, 0);
</span>                     port_name = (const char*) sqlite3_column_text(stmt, 2);
                     requested = (int) sqlite3_column_int64(stmt, 3);
                     state = (const char*) sqlite3_column_text(stmt, 4);
</pre><pre style='margin:0'>

</pre>